public final class SimpleMetadataObject extends MetadataObject
Constructor and Description |
---|
SimpleMetadataObject()
Constructor: initializes the object with an ID of -1
|
SimpleMetadataObject(com.endeca.portal.liferay.ext.metadata.model.MetadataRecord record)
Constructor that initializes the object from a MetadataRecord.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getType()
Returns "SIMPLE"
|
addProperties, addProperty, equals, getProperties, getProperties, getSourceRecord, init, removeAllProperties, removeProperties, removeProperties, removeProperty, setSourceRecord
getDescription, getFeature, getKey, getLastUpdated, getLocale, getObjectId, getRel, getSource, getValue, setDescription, setFeature, setKey, setLastUpdated, setLocale, setObjectId, setRel, setSource, setValue, toString
public SimpleMetadataObject()
public SimpleMetadataObject(com.endeca.portal.liferay.ext.metadata.model.MetadataRecord record)
record
- the source MetadataRecordpublic java.lang.String getType()
getType
in interface Metadata
getType
in class MetadataObject
Metadata.getType()
Copyright 2003, 2014, Oracle and/or its affiliates. All rights reserved.