public abstract class AbstractMetadata extends java.lang.Object implements Metadata
Constructor and Description |
---|
AbstractMetadata() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
get the description
|
java.lang.String |
getFeature()
get the feature
|
java.lang.String |
getKey()
get the key
|
java.util.Date |
getLastUpdated()
get the last-updated date
|
java.lang.String |
getLocale()
get the locale
|
long |
getObjectId()
get the object ID
|
java.lang.String |
getRel()
get the relationship
|
java.lang.String |
getSource()
get the source
|
abstract java.lang.String |
getType()
Gets the implementation-specific type.
|
java.lang.String |
getValue()
get the value
|
void |
setDescription(java.lang.String description)
set the description
|
void |
setFeature(java.lang.String feature)
set the feature
|
void |
setKey(java.lang.String key)
set the key
|
void |
setLastUpdated(java.util.Date lastUpdated)
set the last-updated date
|
void |
setLocale(java.lang.String locale)
set the locale
|
void |
setObjectId(long id)
set the object ID
|
void |
setRel(java.lang.String rel)
set the relationship
|
void |
setSource(java.lang.String source)
set the source
|
void |
setValue(java.lang.String value)
set the value
|
java.lang.String |
toString() |
public abstract java.lang.String getType()
getType
in interface Metadata
MetadataObject.getType()
public long getObjectId()
getObjectId
in interface Metadata
public void setObjectId(long id)
setObjectId
in interface Metadata
id
- the idpublic java.lang.String getKey()
public void setKey(java.lang.String key)
key
- the keypublic java.lang.String getRel()
public void setRel(java.lang.String rel)
rel
- the relationshippublic java.lang.String getValue()
public void setValue(java.lang.String value)
value
- the valuepublic java.lang.String getFeature()
getFeature
in interface Metadata
public void setFeature(java.lang.String feature)
feature
- the featurepublic java.lang.String getLocale()
public void setLocale(java.lang.String locale)
locale
- the localepublic java.lang.String getSource()
public void setSource(java.lang.String source)
source
- the sourcepublic java.lang.String getDescription()
getDescription
in interface Metadata
public void setDescription(java.lang.String description)
description
- the descriptionpublic java.util.Date getLastUpdated()
getLastUpdated
in interface Metadata
public void setLastUpdated(java.util.Date lastUpdated)
lastUpdated
- the datepublic java.lang.String toString()
toString
in class java.lang.Object
Copyright 2003, 2014, Oracle and/or its affiliates. All rights reserved.