Package com.luciad.ogc.csw.model
Class TLcdCSWDCMIRecord
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.csw.model.TLcdCSWAbstractRecord
com.luciad.ogc.csw.model.TLcdCSWDCMIRecord
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
- Direct Known Subclasses:
TLcdCSWRecord
Generic Dublin Core based record representation.
It allows retrieving
all content
or
content based on the name
.- Since:
- 2017.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to theany
element.Fields inherited from class com.luciad.ogc.csw.model.TLcdCSWAbstractRecord
DELETED_PROPERTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetContents
(QName aElementName) Convenience operation that returns the content of all DC terms with the given name.Returns the value of the property that maps to theany
element.getElement
(QName aElementName) Convenience operation that returns the first DC term with the given name.getElementAsString
(QName aElementName) Convenience operation that returns the String value of the first DC term with the given name.Methods inherited from class com.luciad.ogc.csw.model.TLcdCSWAbstractRecord
getDeleted, setDeleted
-
Field Details
-
DC_ELEMENTS_PROPERTY
Data property that maps to theany
element. The possible values for this property are instances ofList<TLcdDCElemSimpleLiteral>
.
-
-
Constructor Details
-
TLcdCSWDCMIRecord
public TLcdCSWDCMIRecord() -
TLcdCSWDCMIRecord
-
-
Method Details
-
getElement
Convenience operation that returns the first DC term with the given name.- Parameters:
aElementName
- one of the constants defined inTLcdDCElemSimpleLiteral
- Returns:
- the first DC term with the given name, or null if there is no term with the given name
-
getContents
Convenience operation that returns the content of all DC terms with the given name.- Parameters:
aElementName
- one of the constants defined inTLcdDCElemSimpleLiteral
- Returns:
- all DC terms with the given name, or an empty set if there is none
-
getElementAsString
Convenience operation that returns the String value of the first DC term with the given name.- Parameters:
aElementName
- one of the constants defined inTLcdDCElemSimpleLiteral
- Returns:
- the String value for the first DC term with the given name, or null if there is no String value for the first term with the given name
-
getDCElements
Returns the value of the property that maps to theany
element.- Returns:
- the value of the
DC_ELEMENTS_PROPERTY
property.
-