fr.etai.xat2v2.obj
Class Accident

java.lang.Object
  extended by fr.etai.xat2v2.obj.Accident
All Implemented Interfaces:
Serializable

public class Accident
extends Object
implements Serializable

Accident permits to describe the circumstances of an accident.

Java class for AccidentType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="AccidentType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="date-list" type="{http://xat2.etai.fr}DateListType" minOccurs="0"/>
         <element name="place" type="{http://xat2.etai.fr}PlaceType" minOccurs="0"/>
         <element name="impact-list" type="{http://xat2.etai.fr}ImpactListType" minOccurs="0"/>
         <element name="circumstance-list" type="{http://xat2.etai.fr}CircumstanceListType" minOccurs="0"/>
         <element name="classification-list" type="{http://xat2.etai.fr}ClassificationListType" minOccurs="0"/>
         <element name="person-link-list" type="{http://xat2.etai.fr}PersonLinkListType" minOccurs="0"/>
         <element name="responsability" type="{http://xat2.etai.fr}ValueType" minOccurs="0"/>
         <element name="immobilization-period" type="{http://xat2.etai.fr}ValueListType" minOccurs="0"/>
         <element name="comment-list" type="{http://xat2.etai.fr}CommentListType" minOccurs="0"/>
       </sequence>
       <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="internal-id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Constructor Summary
Accident()
           
 
Method Summary
 void addCircumstance(Circumstance circumstance)
           
 void addClassification(Classification classification)
           
 void addDate(ExplicitDate date)
           
 void addImmobilizationPeriod(Value value)
           
 void addImpact(Impact impact)
           
 void addPersonLink(PersonLink personLink)
           
 List<Circumstance> getCircumstanceList()
          Gets the value of the circumstanceList property.
 List<Classification> getClassificationList()
          Gets the value of the classificationList property.
 CommentList getCommentList()
          Gets the value of the commentList property.
 List<ExplicitDate> getDateList()
          Gets the value of the dateList property.
 List<Value> getImmobilizationPeriod()
          Gets the value of the immobilizationPeriod property.
 List<Impact> getImpactList()
          Gets the value of the impactList property.
 String getInternalId()
          Gets the value of the internalId property.
 List<PersonLink> getPersonLinkList()
          Gets the value of the personLinkList property.
 Place getPlace()
          Gets the value of the place property.
 Value getResponsability()
          Gets the value of the responsability property.
 String getSource()
          Gets the value of the source property.
 void setCircumstanceList(List<Circumstance> value)
          Sets the value of the circumstanceList property.
 void setClassificationList(List<Classification> value)
          Sets the value of the classificationList property.
 void setCommentList(CommentList value)
          Sets the value of the commentList property.
 void setDateList(List<ExplicitDate> value)
          Sets the value of the dateList property.
 void setImmobilizationPeriod(List<Value> value)
          Sets the value of the immobilizationPeriod property.
 void setImpactList(List<Impact> value)
          Sets the value of the impactList property.
 void setInternalId(String value)
          Sets the value of the internalId property.
 void setPersonLinkList(List<PersonLink> value)
          Sets the value of the personLinkList property.
 void setPlace(Place value)
          Sets the value of the place property.
 void setResponsability(Value value)
          Sets the value of the responsability property.
 void setSource(String value)
          Sets the value of the source property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Accident

public Accident()
Method Detail

getDateList

public List<ExplicitDate> getDateList()
Gets the value of the dateList property.

Returns:
possible object is DateListType

setDateList

public void setDateList(List<ExplicitDate> value)
Sets the value of the dateList property.

Parameters:
value - allowed object is DateListType

addDate

public void addDate(ExplicitDate date)

getPlace

public Place getPlace()
Gets the value of the place property.

Returns:
possible object is Place

setPlace

public void setPlace(Place value)
Sets the value of the place property.

Parameters:
value - allowed object is Place

getImpactList

public List<Impact> getImpactList()
Gets the value of the impactList property.

Returns:
possible object is ImpactListType

setImpactList

public void setImpactList(List<Impact> value)
Sets the value of the impactList property.

Parameters:
value - allowed object is ImpactListType

addImpact

public void addImpact(Impact impact)

getCircumstanceList

public List<Circumstance> getCircumstanceList()
Gets the value of the circumstanceList property.

Returns:
possible object is CircumstanceListType

setCircumstanceList

public void setCircumstanceList(List<Circumstance> value)
Sets the value of the circumstanceList property.

Parameters:
value - allowed object is CircumstanceListType

addCircumstance

public void addCircumstance(Circumstance circumstance)

getClassificationList

public List<Classification> getClassificationList()
Gets the value of the classificationList property.

Returns:
possible object is ClassificationListType

setClassificationList

public void setClassificationList(List<Classification> value)
Sets the value of the classificationList property.

Parameters:
value - allowed object is ClassificationListType

addClassification

public void addClassification(Classification classification)

getPersonLinkList

public List<PersonLink> getPersonLinkList()
Gets the value of the personLinkList property.

Returns:
possible object is PersonLinkListType

setPersonLinkList

public void setPersonLinkList(List<PersonLink> value)
Sets the value of the personLinkList property.

Parameters:
value - allowed object is PersonLinkListType

addPersonLink

public void addPersonLink(PersonLink personLink)

getResponsability

public Value getResponsability()
Gets the value of the responsability property.

Returns:
possible object is Value

setResponsability

public void setResponsability(Value value)
Sets the value of the responsability property.

Parameters:
value - allowed object is Value

getImmobilizationPeriod

public List<Value> getImmobilizationPeriod()
Gets the value of the immobilizationPeriod property.

Returns:
possible object is ValueListType

setImmobilizationPeriod

public void setImmobilizationPeriod(List<Value> value)
Sets the value of the immobilizationPeriod property.

Parameters:
value - allowed object is ValueListType

addImmobilizationPeriod

public void addImmobilizationPeriod(Value value)

getCommentList

public CommentList getCommentList()
Gets the value of the commentList property.

Returns:
possible object is CommentList

setCommentList

public void setCommentList(CommentList value)
Sets the value of the commentList property.

Parameters:
value - allowed object is CommentList

getSource

public String getSource()
Gets the value of the source property.

Returns:
possible object is String

setSource

public void setSource(String value)
Sets the value of the source property.

Parameters:
value - allowed object is String

getInternalId

public String getInternalId()
Gets the value of the internalId property.

Returns:
possible object is String

setInternalId

public void setInternalId(String value)
Sets the value of the internalId property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.