Class MDKeywordsType
- java.lang.Object
-
- net.opengis.iso19139.gco.v_20070417.AbstractObjectType
-
- net.opengis.iso19139.gmd.v_20070417.MDKeywordsType
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb.lang.CopyTo,org.jvnet.jaxb.lang.Equals,org.jvnet.jaxb.lang.HashCode,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
public class MDKeywordsType extends AbstractObjectType implements Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Keywords, their type and reference sourceJava class for MD_Keywords_Type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MD_Keywords_Type"> <complexContent> <extension base="{http://www.isotc211.org/2005/gco}AbstractObject_Type"> <sequence> <element name="keyword" type="{http://www.isotc211.org/2005/gco}CharacterString_PropertyType" maxOccurs="unbounded"/> <element name="type" type="{http://www.isotc211.org/2005/gmd}MD_KeywordTypeCode_PropertyType" minOccurs="0"/> <element name="thesaurusName" type="{http://www.isotc211.org/2005/gmd}CI_Citation_PropertyType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<CharacterStringPropertyType>keywordprotected CICitationPropertyTypethesaurusNameprotected MDKeywordTypeCodePropertyTypetype-
Fields inherited from class net.opengis.iso19139.gco.v_20070417.AbstractObjectType
id, uuid
-
-
Constructor Summary
Constructors Constructor Description MDKeywordsType()Default no-arg constructorMDKeywordsType(String id, String uuid, List<CharacterStringPropertyType> keyword, MDKeywordTypeCodePropertyType type, CICitationPropertyType thesaurusName)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)StringBuilderappendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)List<CharacterStringPropertyType>getKeyword()Gets the value of the keyword property.CICitationPropertyTypegetThesaurusName()Gets the value of the thesaurusName property.MDKeywordTypeCodePropertyTypegetType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetKeyword()booleanisSetThesaurusName()booleanisSetType()voidmergeFrom(Object left, Object right)voidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)voidsetKeyword(List<CharacterStringPropertyType> value)voidsetThesaurusName(CICitationPropertyType value)Sets the value of the thesaurusName property.voidsetType(MDKeywordTypeCodePropertyType value)Sets the value of the type property.StringtoString()voidunsetKeyword()MDKeywordsTypewithId(String value)MDKeywordsTypewithKeyword(Collection<CharacterStringPropertyType> values)MDKeywordsTypewithKeyword(List<CharacterStringPropertyType> value)MDKeywordsTypewithKeyword(CharacterStringPropertyType... values)MDKeywordsTypewithThesaurusName(CICitationPropertyType value)MDKeywordsTypewithType(MDKeywordTypeCodePropertyType value)MDKeywordsTypewithUuid(String value)
-
-
-
Field Detail
-
keyword
protected List<CharacterStringPropertyType> keyword
-
type
protected MDKeywordTypeCodePropertyType type
-
thesaurusName
protected CICitationPropertyType thesaurusName
-
-
Constructor Detail
-
MDKeywordsType
public MDKeywordsType()
Default no-arg constructor
-
MDKeywordsType
public MDKeywordsType(String id, String uuid, List<CharacterStringPropertyType> keyword, MDKeywordTypeCodePropertyType type, CICitationPropertyType thesaurusName)
Fully-initialising value constructor
-
-
Method Detail
-
getKeyword
public List<CharacterStringPropertyType> getKeyword()
Gets the value of the keyword 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 Jakarta XML Binding object. This is why there is not a
setmethod for the keyword property.For example, to add a new item, do as follows:
getKeyword().add(newItem);Objects of the following type(s) are allowed in the list
CharacterStringPropertyType
-
isSetKeyword
public boolean isSetKeyword()
-
unsetKeyword
public void unsetKeyword()
-
getType
public MDKeywordTypeCodePropertyType getType()
Gets the value of the type property.- Returns:
- possible object is
MDKeywordTypeCodePropertyType
-
setType
public void setType(MDKeywordTypeCodePropertyType value)
Sets the value of the type property.- Parameters:
value- allowed object isMDKeywordTypeCodePropertyType
-
isSetType
public boolean isSetType()
-
getThesaurusName
public CICitationPropertyType getThesaurusName()
Gets the value of the thesaurusName property.- Returns:
- possible object is
CICitationPropertyType
-
setThesaurusName
public void setThesaurusName(CICitationPropertyType value)
Sets the value of the thesaurusName property.- Parameters:
value- allowed object isCICitationPropertyType
-
isSetThesaurusName
public boolean isSetThesaurusName()
-
toString
public String toString()
- Overrides:
toStringin classAbstractObjectType
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendin classAbstractObjectType
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendFieldsin classAbstractObjectType
-
equals
public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb.lang.Equals- Overrides:
equalsin classAbstractObjectType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAbstractObjectType
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb.lang.HashCode- Overrides:
hashCodein classAbstractObjectType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractObjectType
-
clone
public Object clone()
- Overrides:
clonein classAbstractObjectType
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo- Overrides:
copyToin classAbstractObjectType
-
copyTo
public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo- Overrides:
copyToin classAbstractObjectType
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.CopyTo- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
public void mergeFrom(Object left, Object right)
- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classAbstractObjectType
-
mergeFrom
public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classAbstractObjectType
-
setKeyword
public void setKeyword(List<CharacterStringPropertyType> value)
-
withKeyword
public MDKeywordsType withKeyword(CharacterStringPropertyType... values)
-
withKeyword
public MDKeywordsType withKeyword(Collection<CharacterStringPropertyType> values)
-
withType
public MDKeywordsType withType(MDKeywordTypeCodePropertyType value)
-
withThesaurusName
public MDKeywordsType withThesaurusName(CICitationPropertyType value)
-
withKeyword
public MDKeywordsType withKeyword(List<CharacterStringPropertyType> value)
-
withId
public MDKeywordsType withId(String value)
- Overrides:
withIdin classAbstractObjectType
-
withUuid
public MDKeywordsType withUuid(String value)
- Overrides:
withUuidin classAbstractObjectType
-
-