Class AbstractMetaDataType

  • Direct Known Subclasses:
    GenericMetaDataType

    public abstract class AbstractMetaDataType
    extends Object
    An abstract base type for complex metadata types.

    Java class for AbstractMetaDataType complex type.

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

     <complexType name="AbstractMetaDataType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute ref="{http://www.opengis.net/gml}id"/>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • AbstractMetaDataType

        public AbstractMetaDataType()
        Default no-arg constructor
      • AbstractMetaDataType

        public AbstractMetaDataType​(List<Serializable> content,
                                    String id)
        Fully-initialising value constructor
    • Method Detail

      • getContent

        public List<Serializable> getContent()
        An abstract base type for complex metadata types.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 String

      • getId

        public String getId()
        Gets the value of the id property.
        Returns:
        possible object is String
      • setId

        public void setId​(String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String