Class Activity

  • All Implemented Interfaces:
    java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    public class Activity
    extends java.lang.Object
    implements java.io.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:
    Serialized Form
    • Field Detail

      • comment

        protected Comment comment
      • activityID

        protected java.lang.String activityID
      • activityName

        protected java.lang.String activityName
      • personalID

        protected java.lang.String personalID
      • roles

        protected java.util.List<java.lang.String> roles
      • startTime

        protected DateTime startTime
    • Constructor Detail

      • Activity

        public Activity()
    • Method Detail

      • getComment

        public Comment getComment()
        Gets the value of the comment property.
        Returns:
        possible object is Comment
      • setComment

        public void setComment​(Comment value)
        Sets the value of the comment property.
        Parameters:
        value - allowed object is Comment
      • getActivityID

        public java.lang.String getActivityID()
        Gets the value of the activityID property.
        Returns:
        possible object is String
      • setActivityID

        public void setActivityID​(java.lang.String value)
        Sets the value of the activityID property.
        Parameters:
        value - allowed object is String
      • getActivityName

        public java.lang.String getActivityName()
        Gets the value of the activityName property.
        Returns:
        possible object is String
      • setActivityName

        public void setActivityName​(java.lang.String value)
        Sets the value of the activityName property.
        Parameters:
        value - allowed object is String
      • getEndTime

        public DateTime getEndTime()
        Gets the value of the endTime property.
        Returns:
        possible object is String
      • setEndTime

        public void setEndTime​(DateTime value)
        Sets the value of the endTime property.
        Parameters:
        value - allowed object is String
      • getPersonalID

        public java.lang.String getPersonalID()
        Gets the value of the personalID property.
        Returns:
        possible object is String
      • setPersonalID

        public void setPersonalID​(java.lang.String value)
        Sets the value of the personalID property.
        Parameters:
        value - allowed object is String
      • getRoles

        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 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

        public DateTime getStartTime()
        Gets the value of the startTime property.
        Returns:
        possible object is String
      • setStartTime

        public void setStartTime​(DateTime value)
        Sets the value of the startTime property.
        Parameters:
        value - allowed object is String
      • getOtherAttributes

        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:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.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 java.lang.Object