|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.portal.metadata.AbstractMetadata
public abstract class AbstractMetadata
Base abstract class for all metadata records. This class provides a basic Metadata implementation for getting and setting any metadata property, except for "Type" which is meant to be implementation-specific.
Constructor Summary | |
---|---|
AbstractMetadata()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractMetadata()
Method Detail |
---|
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()
getKey
in interface Metadata
public void setKey(java.lang.String key)
key
- the keypublic java.lang.String getRel()
getRel
in interface Metadata
public void setRel(java.lang.String rel)
rel
- the relationshippublic java.lang.String getValue()
getValue
in interface Metadata
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()
getLocale
in interface Metadata
public void setLocale(java.lang.String locale)
locale
- the localepublic java.lang.String getSource()
getSource
in interface Metadata
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |