|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.portal.metadata.AbstractMetadata com.endeca.portal.metadata.MetadataObject com.endeca.portal.metadata.datasource.MDEXStateMetadataObject
public class MDEXStateMetadataObject
This class represents a metadata object that represents a stored MDEXState.
Constructor Summary | |
---|---|
MDEXStateMetadataObject(com.endeca.portal.liferay.ext.metadata.model.MetadataRecord record)
|
|
MDEXStateMetadataObject(java.lang.String key,
java.lang.String value)
|
Method Summary | |
---|---|
java.lang.String |
getDataSourceJsonDefinition()
A convenience method that returns the value under the name of what it is, a data source JSON definition. |
long |
getEntryVersion()
This method returns the current entry version, which we store in the Rel value of the Liferay Metadata object. |
java.lang.String |
getType()
Gets the implementation-specific type. |
void |
incrementEntryVersion()
This is a convenience method to increase the current entry version of this object by 1. |
void |
setDataSourceJsonDefinition(java.lang.String dataSourceDefinition)
A convenience method that sets the value under the name of what it is, a data source JSON definition. |
void |
setEntryVersion(long entryVersion)
This method will explicitly set the entry version of this object to the passed long. |
Methods inherited from class com.endeca.portal.metadata.MetadataObject |
---|
addProperties, addProperty, equals, getProperties, getProperties, getSourceRecord, init, removeAllProperties, removeProperties, removeProperties, removeProperty, setSourceRecord |
Methods inherited from class com.endeca.portal.metadata.AbstractMetadata |
---|
getDescription, getFeature, getKey, getLastUpdated, getLocale, getObjectId, getRel, getSource, getValue, setDescription, setFeature, setKey, setLastUpdated, setLocale, setObjectId, setRel, setSource, setValue, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MDEXStateMetadataObject(com.endeca.portal.liferay.ext.metadata.model.MetadataRecord record)
public MDEXStateMetadataObject(java.lang.String key, java.lang.String value)
Method Detail |
---|
public java.lang.String getType()
MetadataObject
getType
in interface Metadata
getType
in class MetadataObject
MetadataObject.getType()
public java.lang.String getDataSourceJsonDefinition()
public void setDataSourceJsonDefinition(java.lang.String dataSourceDefinition)
dataSourceDefinition
- public long getEntryVersion()
public void setEntryVersion(long entryVersion)
entryVersion
- public void incrementEntryVersion()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |