Class ObjectTypes

  • All Implemented Interfaces:
    Serializable

    public class ObjectTypes
    extends Object
    implements Serializable
    A wrapper around a list of ObjectType instances.

    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 name="type" type="{}ObjectType" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="totalCount" type="{http://www.w3.org/2001/XMLSchema}int" />
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • ObjectTypes

        public ObjectTypes()
    • Method Detail

      • getTypes

        public List<ObjectType> getTypes()
        A list of ObjectType instances.

        Gets the value of the types 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 types property.

        For example, to add a new item, do as follows:

            getTypes().add(newItem);
         

        Objects of the following type(s) are allowed in the list ObjectType

      • getTotalCount

        public Integer getTotalCount()
        Gets the value of the totalCount property.
        Returns:
        possible object is Integer
      • setTotalCount

        public void setTotalCount​(Integer value)
        Sets the value of the totalCount property.
        Parameters:
        value - allowed object is Integer
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • copy

        public ObjectTypes copy()
        Deep copies the fields of the this model into a new instance of this class and returns it.
      • copy

        public ObjectTypes copy​(boolean isDeep)
        Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.
      • copy

        protected ObjectTypes copy​(ObjectTypes nobj,
                                   boolean isDeep)
        Copies the fields of the this model (optionally deeply) into the given instance and returns it.
      • withTypes

        public ObjectTypes withTypes​(ObjectType... newValues)
        Adds the given newValues to the current types property List and returns this instance.
      • withTypes

        public ObjectTypes withTypes​(Collection<? extends ObjectType> newValues)
        Adds the given newValues to the current types property List and returns this instance.
      • withTotalCount

        public ObjectTypes withTotalCount​(Integer newValue)
        Sets the totalCount property to the given newValue and returns this instance.