public class TLcdDCElemSimpleLiteral extends TLcdDataObject
key
-value
element, or in other words,
a field of a metadata record.Object
, but in many cases it will be a single String
for which
the scheme
defines an encoding (e.g. a URI).
Basic keys are defined in the Dublin Core Metadata Element Set (DCMES). The DCMI Metadata Terms extend and refine these keys.
All keys are defined as public QName
constants in this class.
See the DCMI website for more information.
Modifier and Type | Field and Description |
---|---|
static QName |
ABSTRACT |
static QName |
ACCESS_RIGHTS |
static QName |
ALTERNATIVE |
static QName |
AUDIENCE |
static QName |
AVAILABLE |
static QName |
BIBLIOGRAPHIC_CITATION |
static QName |
CONFORMS_TO |
static TLcdDataProperty |
CONTENT_PROPERTY
Data content property.
|
static QName |
CONTRIBUTOR
An entity responsible for making contributions to the content of
the resource.
|
static QName |
COVERAGE
The extent or scope of the content of the resource.
|
static QName |
CREATED |
static QName |
CREATOR
An entity primarily responsible for making the content of
the resource.
|
static QName |
DATE
A date of an event in the lifecycle of the resource.
|
static QName |
DATE_ACCEPTED |
static QName |
DATE_COPYRIGHTED |
static QName |
DATE_SUBMITTED |
static QName |
DESCRIPTION
An account of the content of the resource.
|
static QName |
EDUCATION_LEVEL |
static QName |
EXTENT |
static QName |
FORMAT
The physical or digital manifestation of the resource.
|
static QName |
HAS_FORMAT |
static QName |
HAS_PART |
static QName |
HAS_VERSION |
static QName |
IDENTIFIER
An unambiguous reference to the resource within a given context.
|
static QName |
IS_FORMAT_OF |
static QName |
IS_PART_OF |
static QName |
IS_REFERENCED_BY |
static QName |
IS_REPLACED_BY |
static QName |
IS_REQUIRED_BY |
static QName |
IS_VERSION_OF |
static QName |
ISSUED |
static TLcdDataProperty |
LANG_PROPERTY
Data property that maps to the
lang attribute. |
static QName |
LANGUAGE
A language of the intellectual content of the resource.
|
static QName |
LICENSE |
static QName |
MEDIATOR |
static QName |
MEDIUM |
static QName |
MODIFIED |
static QName |
PROVENANCE |
static QName |
PUBLISHER
An entity responsible for making the resource available.
|
static QName |
REFERENCES |
static QName |
RELATION
A reference to a related resource.
|
static QName |
REPLACES |
static QName |
REQUIRES |
static QName |
RIGHTS
Information about rights held in and over the resource.
|
static QName |
RIGHTS_HOLDER |
static TLcdDataProperty |
SCHEME_PROPERTY
Data property that maps to the
scheme attribute. |
static QName |
SOURCE
A Reference to a resource from which the present resource is
derived.
|
static QName |
SPATIAL |
static QName |
SUBJECT
A topic of the content of the resource.
|
static QName |
TABLE_OF_CONTENTS |
static QName |
TEMPORAL |
static QName |
TITLE
A name given to the resource.
|
static QName |
TYPE
The nature or genre of the content of the resource.
|
static TLcdDataProperty |
TYPE_PROPERTY
Data property that holds the type of this instance.
|
static QName |
VALID |
Constructor and Description |
---|
TLcdDCElemSimpleLiteral() |
TLcdDCElemSimpleLiteral(QName aType,
String aValue) |
TLcdDCElemSimpleLiteral(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getContent()
Returns the value of the content property.
|
String |
getLang()
Returns the value of the property that maps to the
lang attribute. |
URI |
getScheme()
Returns the value of the property that maps to the
scheme attribute. |
String |
getStringValue()
Convenience operation that returns the first value as a String.
|
QName |
getType()
Returns the value of the property that holds the type of this instance.
|
void |
setLang(String aValue)
Sets the value of the property that maps to the
lang attribute. |
void |
setScheme(URI aValue)
Sets the value of the property that maps to the
scheme attribute. |
void |
setType(QName aValue)
Sets the value of the property that holds the type of this instance.
|
String |
toString() |
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
public static final QName BIBLIOGRAPHIC_CITATION
public static final QName TABLE_OF_CONTENTS
public static final QName ABSTRACT
public static final QName ALTERNATIVE
public static final QName AUDIENCE
public static final QName MEDIATOR
public static final QName EDUCATION_LEVEL
public static final QName ACCESS_RIGHTS
public static final QName LICENSE
public static final QName CREATED
public static final QName VALID
public static final QName AVAILABLE
public static final QName MODIFIED
public static final QName DATE_ACCEPTED
public static final QName DATE_COPYRIGHTED
public static final QName DATE_SUBMITTED
public static final QName ISSUED
public static final QName EXTENT
public static final QName MEDIUM
public static final QName CONFORMS_TO
public static final QName HAS_FORMAT
public static final QName HAS_PART
public static final QName HAS_VERSION
public static final QName IS_FORMAT_OF
public static final QName IS_PART_OF
public static final QName IS_REFERENCED_BY
public static final QName IS_REPLACED_BY
public static final QName IS_REQUIRED_BY
public static final QName IS_VERSION_OF
public static final QName REFERENCES
public static final QName REPLACES
public static final QName REQUIRES
public static final QName SPATIAL
public static final QName TEMPORAL
public static final QName PROVENANCE
public static final QName RIGHTS_HOLDER
public static final TLcdDataProperty SCHEME_PROPERTY
scheme
attribute.
The possible values for this property are instances of URI
.public static final TLcdDataProperty LANG_PROPERTY
lang
attribute.
The possible values for this property are instances of String
.public static final TLcdDataProperty CONTENT_PROPERTY
List<Object>
.public static final TLcdDataProperty TYPE_PROPERTY
QName
constants defined in this class.public static final QName DATE
public static final QName COVERAGE
public static final QName IDENTIFIER
public static final QName CREATOR
public static final QName SUBJECT
public static final QName FORMAT
public static final QName DESCRIPTION
public static final QName LANGUAGE
public static final QName SOURCE
public static final QName TITLE
public static final QName TYPE
public static final QName RELATION
public static final QName CONTRIBUTOR
public static final QName RIGHTS
public static final QName PUBLISHER
public TLcdDCElemSimpleLiteral()
public TLcdDCElemSimpleLiteral(TLcdDataType aType)
public String getStringValue()
public String toString()
toString
in class TLcdDataObject
public URI getScheme()
scheme
attribute.SCHEME_PROPERTY
property.public void setScheme(URI aValue)
scheme
attribute.aValue
- the value to set for the SCHEME_PROPERTY
property.public String getLang()
lang
attribute.
LANG_PROPERTY
property.public void setLang(String aValue)
lang
attribute.
aValue
- the value to set for the LANG_PROPERTY
property.public List<Object> getContent()
CONTENT_PROPERTY
property.public QName getType()
The possible values for this property are the public QName
constants defined in this class.
TYPE_PROPERTY
property.public void setType(QName aValue)
The possible values for this property are the public QName
constants defined in this class.
aValue
- the value to set for the TYPE_PROPERTY
property.