public class MDEXStateMetadataObject extends MetadataObject
| Constructor and Description |
|---|
MDEXStateMetadataObject(com.endeca.portal.liferay.ext.metadata.model.MetadataRecord record) |
MDEXStateMetadataObject(java.lang.String key,
java.lang.String value) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDataSourceJsonDefinition()
A convenience method that returns the value under the name of what it is, a data source JSON definition.
|
org.json.JSONObject |
getDataSourceJsonObject()
A convenience method that returns the value under the name of what it is, a JSON object
|
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.
|
addProperties, addProperty, equals, getProperties, getProperties, getSourceRecord, init, removeAllProperties, removeProperties, removeProperties, removeProperty, setSourceRecordgetDescription, getFeature, getKey, getLastUpdated, getLocale, getObjectId, getRel, getSource, getValue, setDescription, setFeature, setKey, setLastUpdated, setLocale, setObjectId, setRel, setSource, setValue, toStringpublic MDEXStateMetadataObject(com.endeca.portal.liferay.ext.metadata.model.MetadataRecord record)
public MDEXStateMetadataObject(java.lang.String key,
java.lang.String value)
public java.lang.String getType()
MetadataObjectgetType in interface MetadatagetType in class MetadataObjectMetadataObject.getType()public java.lang.String getDataSourceJsonDefinition()
public org.json.JSONObject getDataSourceJsonObject()
public void setDataSourceJsonDefinition(java.lang.String dataSourceDefinition)
dataSourceDefinition - public long getEntryVersion()
public void setEntryVersion(long entryVersion)
entryVersion - public void incrementEntryVersion()
Copyright 2003, 2014, Oracle and/or its affiliates. All rights reserved.