Package org.w3.xlink

Class ResourceType


  • public class ResourceType
    extends Object

    Java class for resourceType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="resourceType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <group ref="{http://www.w3.org/1999/xlink}resourceModel"/>
           <attGroup ref="{http://www.w3.org/1999/xlink}resourceAttrs"/>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • ResourceType

        public ResourceType()
    • Method Detail

      • getContent

        public List<Object> getContent()
        Gets the value of the content 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 content property.

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

            getContent().add(newItem);
         

        Objects of the following type(s) are allowed in the list Element Object String

      • getType

        public TypeType getType()
        Gets the value of the type property.
        Returns:
        possible object is TypeType
      • setType

        public void setType​(TypeType value)
        Sets the value of the type property.
        Parameters:
        value - allowed object is TypeType
      • getRole

        public String getRole()
        Gets the value of the role property.
        Returns:
        possible object is String
      • setRole

        public void setRole​(String value)
        Sets the value of the role property.
        Parameters:
        value - allowed object is String
      • getTitle

        public String getTitle()
        Gets the value of the title property.
        Returns:
        possible object is String
      • setTitle

        public void setTitle​(String value)
        Sets the value of the title property.
        Parameters:
        value - allowed object is String
      • getLabel

        public String getLabel()
        Gets the value of the label property.
        Returns:
        possible object is String
      • setLabel

        public void setLabel​(String value)
        Sets the value of the label property.
        Parameters:
        value - allowed object is String
      • copyTo

        public <_B> void copyTo​(ResourceType.Builder<_B> _other)
        Copies all state of this object to a builder. This method is used by the copyOf(org.w3.xlink.ResourceType) method and should not be called directly by client code.
        Parameters:
        _other - A builder instance to which the state of this object will be copied.
      • copyTo

        public <_B> void copyTo​(ResourceType.Builder<_B> _other,
                                com.kscs.util.jaxb.PropertyTree _propertyTree,
                                com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
        Copies all state of this object to a builder. This method is used by the copyOf(org.w3.xlink.ResourceType) method and should not be called directly by client code.
        Parameters:
        _other - A builder instance to which the state of this object will be copied.
      • newCopyBuilder

        public <_B> ResourceType.Builder<_B> newCopyBuilder​(_B _parentBuilder,
                                                            com.kscs.util.jaxb.PropertyTree _propertyTree,
                                                            com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
      • newCopyBuilder

        public ResourceType.Builder<Void> newCopyBuilder​(com.kscs.util.jaxb.PropertyTree _propertyTree,
                                                         com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
      • copyOf

        public static <_B> ResourceType.Builder<_B> copyOf​(ResourceType _other,
                                                           com.kscs.util.jaxb.PropertyTree _propertyTree,
                                                           com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)