Package nl.b3p.csw.jaxb.gml
Class AbstractMetaDataType
- java.lang.Object
-
- nl.b3p.csw.jaxb.gml.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Serializable>contentprotected Stringid
-
Constructor Summary
Constructors Constructor Description AbstractMetaDataType()Default no-arg constructorAbstractMetaDataType(List<Serializable> content, String id)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Serializable>getContent()An abstract base type for complex metadata types.Gets the value of the content property.StringgetId()Gets the value of the id property.voidsetId(String value)Sets the value of the id property.
-
-
-
Field Detail
-
content
protected List<Serializable> content
-
id
protected String id
-
-
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
setmethod 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
-
-