Class Activity
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.Activity
-
- All Implemented Interfaces:
java.io.Serializable
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public class Activity extends java.lang.Object implements java.io.SerializableJava class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Comment" minOccurs="0"/> </sequence> <attribute name="ActivityID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="ActivityName" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="EndTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="PersonalID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="Roles" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" /> <attribute name="StartTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringactivityIDprotected java.lang.StringactivityNameprotected Commentcommentprotected DateTimeendTimeprotected java.lang.StringpersonalIDprotected java.util.List<java.lang.String>rolesprotected DateTimestartTime
-
Constructor Summary
Constructors Constructor Description Activity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)java.lang.StringgetActivityID()Gets the value of the activityID property.java.lang.StringgetActivityName()Gets the value of the activityName property.CommentgetComment()Gets the value of the comment property.DateTimegetEndTime()Gets the value of the endTime property.java.util.Map<javax.xml.namespace.QName,java.lang.String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.java.lang.StringgetPersonalID()Gets the value of the personalID property.java.util.List<java.lang.String>getRoles()Gets the value of the roles property.DateTimegetStartTime()Gets the value of the startTime property.inthashCode()voidsetActivityID(java.lang.String value)Sets the value of the activityID property.voidsetActivityName(java.lang.String value)Sets the value of the activityName property.voidsetComment(Comment value)Sets the value of the comment property.voidsetEndTime(DateTime value)Sets the value of the endTime property.voidsetPersonalID(java.lang.String value)Sets the value of the personalID property.voidsetStartTime(DateTime value)Sets the value of the startTime property.ActivitywithActivityID(java.lang.String value)ActivitywithActivityName(java.lang.String value)ActivitywithComment(Comment value)ActivitywithEndTime(DateTime value)ActivitywithPersonalID(java.lang.String value)ActivitywithRoles(java.lang.String... values)ActivitywithRoles(java.util.Collection<java.lang.String> values)ActivitywithStartTime(DateTime value)
-
-
-
Field Detail
-
comment
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected Comment comment
-
activityID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.lang.String activityID
-
activityName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.lang.String activityName
-
endTime
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected DateTime endTime
-
personalID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.lang.String personalID
-
roles
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected java.util.List<java.lang.String> roles
-
startTime
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") protected DateTime startTime
-
-
Method Detail
-
getComment
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public Comment getComment()Gets the value of the comment property.- Returns:
- possible object is
Comment
-
setComment
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public void setComment(Comment value)Sets the value of the comment property.- Parameters:
value- allowed object isComment
-
getActivityID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public java.lang.String getActivityID()Gets the value of the activityID property.- Returns:
- possible object is
String
-
setActivityID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public void setActivityID(java.lang.String value)Sets the value of the activityID property.- Parameters:
value- allowed object isString
-
getActivityName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public java.lang.String getActivityName()Gets the value of the activityName property.- Returns:
- possible object is
String
-
setActivityName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public void setActivityName(java.lang.String value)Sets the value of the activityName property.- Parameters:
value- allowed object isString
-
getEndTime
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public DateTime getEndTime()Gets the value of the endTime property.- Returns:
- possible object is
String
-
setEndTime
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public void setEndTime(DateTime value)Sets the value of the endTime property.- Parameters:
value- allowed object isString
-
getPersonalID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public java.lang.String getPersonalID()Gets the value of the personalID property.- Returns:
- possible object is
String
-
setPersonalID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public void setPersonalID(java.lang.String value)Sets the value of the personalID property.- Parameters:
value- allowed object isString
-
getRoles
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public java.util.List<java.lang.String> getRoles()Gets the value of the roles property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the roles property.For example, to add a new item, do as follows:
getRoles().add(newItem);Objects of the following type(s) are allowed in the list
String- Returns:
- The value of the roles property.
-
getStartTime
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public DateTime getStartTime()Gets the value of the startTime property.- Returns:
- possible object is
String
-
setStartTime
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public void setStartTime(DateTime value)Sets the value of the startTime property.- Parameters:
value- allowed object isString
-
getOtherAttributes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.2", date="2023-07-17T18:40:39Z") public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
- Returns:
- always non-null
-
withActivityID
public Activity withActivityID(java.lang.String value)
-
withActivityName
public Activity withActivityName(java.lang.String value)
-
withPersonalID
public Activity withPersonalID(java.lang.String value)
-
withRoles
public Activity withRoles(java.lang.String... values)
-
withRoles
public Activity withRoles(java.util.Collection<java.lang.String> values)
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-