Class TLcdCSWDCMIRecord

All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable
Direct Known Subclasses:
TLcdCSWRecord

public class TLcdCSWDCMIRecord extends TLcdCSWAbstractRecord
Generic Dublin Core based record representation. It allows retrieving all content or content based on the name.
Since:
2017.0
  • Field Details

    • DC_ELEMENTS_PROPERTY

      public static final TLcdDataProperty DC_ELEMENTS_PROPERTY
      Data property that maps to the any element. The possible values for this property are instances of List<TLcdDCElemSimpleLiteral>.
  • Constructor Details

    • TLcdCSWDCMIRecord

      public TLcdCSWDCMIRecord()
    • TLcdCSWDCMIRecord

      public TLcdCSWDCMIRecord(TLcdDataType aDataType)
  • Method Details

    • getElement

      public TLcdDCElemSimpleLiteral getElement(QName aElementName)
      Convenience operation that returns the first DC term with the given name.
      Parameters:
      aElementName - one of the constants defined in TLcdDCElemSimpleLiteral
      Returns:
      the first DC term with the given name, or null if there is no term with the given name
    • getContents

      public List<Object> getContents(QName aElementName)
      Convenience operation that returns the content of all DC terms with the given name.
      Parameters:
      aElementName - one of the constants defined in TLcdDCElemSimpleLiteral
      Returns:
      all DC terms with the given name, or an empty set if there is none
    • getElementAsString

      public String getElementAsString(QName aElementName)
      Convenience operation that returns the String value of the first DC term with the given name.
      Parameters:
      aElementName - one of the constants defined in TLcdDCElemSimpleLiteral
      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

      public List<TLcdDCElemSimpleLiteral> getDCElements()
      Returns the value of the property that maps to the any element.
      Returns:
      the value of the DC_ELEMENTS_PROPERTY property.