Class Activity

java.lang.Object
org.cip4.lib.xjdf.schema.Activity
All Implemented Interfaces:
Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public class Activity extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

Java 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:
  • Field Details

    • comment

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Comment comment
    • activityID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String activityID
    • activityName

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String activityName
    • endTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected DateTime endTime
    • personalID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String personalID
    • roles

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected List<String> roles
    • startTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected DateTime startTime
  • Constructor Details

    • Activity

      public Activity()
  • Method Details

    • getComment

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setComment(Comment value)
      Sets the value of the comment property.
      Parameters:
      value - allowed object is Comment
    • getActivityID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setActivityID(String value)
      Sets the value of the activityID property.
      Parameters:
      value - allowed object is String
    • getActivityName

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setActivityName(String value)
      Sets the value of the activityName property.
      Parameters:
      value - allowed object is String
    • getEndTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setEndTime(DateTime value)
      Sets the value of the endTime property.
      Parameters:
      value - allowed object is String
    • getPersonalID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setPersonalID(String value)
      Sets the value of the personalID property.
      Parameters:
      value - allowed object is String
    • getRoles

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public List<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 set method 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", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setStartTime(DateTime value)
      Sets the value of the startTime property.
      Parameters:
      value - allowed object is String
    • getOtherAttributes

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public Map<QName,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
    • withComment

      public Activity withComment(Comment value)
    • withActivityID

      public Activity withActivityID(String value)
    • withActivityName

      public Activity withActivityName(String value)
    • withEndTime

      public Activity withEndTime(DateTime value)
    • withPersonalID

      public Activity withPersonalID(String value)
    • withRoles

      public Activity withRoles(String... values)
    • withRoles

      public Activity withRoles(Collection<String> values)
    • withStartTime

      public Activity withStartTime(DateTime value)
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object