Package org.cip4.lib.xjdf.schema
Class Activity
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.Activity
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") public class Activity extends java.lang.Object implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2Java 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)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)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()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)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", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") protected Comment comment
-
activityID
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") protected java.lang.String activityID
-
activityName
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") protected java.lang.String activityName
-
endTime
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") protected DateTime endTime
-
personalID
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") protected java.lang.String personalID
-
roles
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") protected java.util.List<java.lang.String> roles
-
startTime
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") protected DateTime startTime
-
-
Method Detail
-
getComment
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") public Comment getComment()Gets the value of the comment property.- Returns:
- possible object is
Comment
-
setComment
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") 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", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") 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", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") 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", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") 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", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") 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", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") public DateTime getEndTime()Gets the value of the endTime property.- Returns:
- possible object is
String
-
setEndTime
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") 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", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") 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", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") 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", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") 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 JAXB 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
-
getStartTime
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") public DateTime getStartTime()Gets the value of the startTime property.- Returns:
- possible object is
String
-
setStartTime
@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") 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", date="2020-04-06T06:56:26+00:00", comments="JAXB RI v2.3.2") 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(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-