Class MetadataOrient
- java.lang.Object
-
- com.orientechnologies.orient.core.record.ORecordAbstract
-
- com.orientechnologies.orient.core.record.impl.ODocument
-
- org.gcube.informationsystem.resourceregistry.utils.MetadataOrient
-
- All Implemented Interfaces:
com.orientechnologies.orient.core.db.record.ODetachable,com.orientechnologies.orient.core.db.record.OIdentifiable,com.orientechnologies.orient.core.db.record.ORecordElement,com.orientechnologies.orient.core.record.OElement,com.orientechnologies.orient.core.record.ORecord,com.orientechnologies.orient.core.record.ORecordSchemaAware,com.orientechnologies.orient.core.serialization.OSerializableStream,Externalizable,Serializable,Comparable<com.orientechnologies.orient.core.db.record.OIdentifiable>,Iterable<Map.Entry<String,Object>>,Comparator<com.orientechnologies.orient.core.db.record.OIdentifiable>,org.gcube.informationsystem.base.reference.Element,org.gcube.informationsystem.base.reference.properties.PropertyElement,org.gcube.informationsystem.base.reference.SchemaMixedElement,org.gcube.informationsystem.model.reference.ModelElement,org.gcube.informationsystem.model.reference.properties.Metadata,org.gcube.informationsystem.model.reference.properties.Property
public class MetadataOrient extends com.orientechnologies.orient.core.record.impl.ODocument implements org.gcube.informationsystem.model.reference.properties.Metadata- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.orientechnologies.orient.core.record.impl.ODocument
_allowChainedAccess, _fields, _fieldSize, _lazyLoad, _ordered, _owners, _schema, _trackingChanges, EMPTY_STRINGS, RECORD_TYPE
-
Fields inherited from class com.orientechnologies.orient.core.record.ORecordAbstract
_contentChanged, _dirty, _dirtyManager, _listeners, _recordFormat, _recordId, _recordVersion, _size, _source, _status
-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, TYPE_PROPERTY
-
-
Constructor Summary
Constructors Modifier Constructor Description MetadataOrient()protectedMetadataOrient(String iClassName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getAdditionalProperties()ObjectgetAdditionalProperty(String key)StringgetCreatedBy()DategetCreationTime()StringgetExpectedtype()StringgetLastUpdateBy()DategetLastUpdateTime()List<String>getSupertypes()StringgetTypeName()voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String key, Object value)voidsetCreatedBy(String createdBy)voidsetCreationTime(Date creationTime)voidsetLastUpdateBy(String lastUpdateBy)voidsetLastUpdateTime(Date lastUpdateTime)StringtoJSON(String iFormat)-
Methods inherited from class com.orientechnologies.orient.core.record.impl.ODocument
addOwner, asEdge, asVertex, autoConvertFieldsToClass, autoConvertValues, checkClass, checkFieldName, checkForFields, clear, clearSource, clearTrackData, containsField, convertAllMultiValuesToTrackedVersions, copy, copyTo, deserializeFields, detach, equals, eval, eval, field, field, field, field, field, fieldNames, fields, fields, fields, fieldType, fieldValues, fill, fill, fillClassIfNeed, fromJSON, fromJSON, fromJSON, fromJSON, fromMap, fromStream, fromString, getClassName, getCollectionTimeLine, getDirtyFields, getGlobalPropertyById, getImmutableSchemaClass, getImmutableSchemaClass, getOrCreate, getOriginalValue, getOwner, getOwners, getProperty, getPropertyNames, getRawEntries, getRawProperty, getRecordType, getSchemaClass, getSchemaType, hashCode, hasOwners, hasSameContentOf, internalReset, isAllowChainedAccess, isEdge, isEmbedded, isEmpty, isLazyLoad, isOrdered, isTrackingChanges, isVertex, iterator, load, load, load, merge, merge, mergeMap, placeholder, rawContainsField, rawField, rawField, readExternal, reload, removeField, removeOwner, removeProperty, reset, save, save, save, setAllowChainedAccess, setClass, setClassName, setClassNameIfExists, setDirty, setDirtyNoChanged, setFieldType, setLazyLoad, setOrdered, setProperty, setProperty, setTrackingChanges, setup, toMap, toStream, toStream, toString, toString, track, undo, undo, unload, unTrack, validate, validateEmbedded, validateField, validateLink, validateLinkCollection, validateType, writeExternal
-
Methods inherited from class com.orientechnologies.orient.core.record.ORecordAbstract
addIdentityChangeListener, addListener, checkForLoading, compare, compareTo, delete, flatCopy, getDatabase, getDatabaseIfDefined, getDatabaseIfDefinedInternal, getDatabaseInternal, getDirtyManager, getIdentity, getInternalStatus, getRecord, getSize, getVersion, invokeListenerEvent, isContentChanged, isDirty, isLocked, load, lock, lockingStrategy, onAfterIdentityChanged, onBeforeIdentityChanged, reload, reload, reload, removeIdentityChangeListener, removeListener, save, setContentChanged, setDirtyManager, setIdentity, setIdentity, setInternalStatus, setVersion, toJSON, toJSON, toJSON, unlock, unsetDirty
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface java.util.Comparator
compare, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface com.orientechnologies.orient.core.db.record.OIdentifiable
getRecord, isLocked, lock, lockingStrategy, unlock
-
-
-
-
Constructor Detail
-
MetadataOrient
public MetadataOrient()
-
MetadataOrient
protected MetadataOrient(String iClassName)
-
-
Method Detail
-
getTypeName
public String getTypeName()
- Specified by:
getTypeNamein interfaceorg.gcube.informationsystem.base.reference.Element
-
getSupertypes
public List<String> getSupertypes()
- Specified by:
getSupertypesin interfaceorg.gcube.informationsystem.model.reference.ModelElement
-
getExpectedtype
public String getExpectedtype()
- Specified by:
getExpectedtypein interfaceorg.gcube.informationsystem.model.reference.ModelElement
-
getCreatedBy
public String getCreatedBy()
- Specified by:
getCreatedByin interfaceorg.gcube.informationsystem.model.reference.properties.Metadata
-
setCreatedBy
public void setCreatedBy(String createdBy)
-
getCreationTime
public Date getCreationTime()
- Specified by:
getCreationTimein interfaceorg.gcube.informationsystem.model.reference.properties.Metadata
-
setCreationTime
public void setCreationTime(Date creationTime)
-
getLastUpdateBy
public String getLastUpdateBy()
- Specified by:
getLastUpdateByin interfaceorg.gcube.informationsystem.model.reference.properties.Metadata
-
setLastUpdateBy
public void setLastUpdateBy(String lastUpdateBy)
-
getLastUpdateTime
public Date getLastUpdateTime()
- Specified by:
getLastUpdateTimein interfaceorg.gcube.informationsystem.model.reference.properties.Metadata
-
setLastUpdateTime
public void setLastUpdateTime(Date lastUpdateTime)
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
- Specified by:
getAdditionalPropertiesin interfaceorg.gcube.informationsystem.model.reference.properties.Property- Specified by:
getAdditionalPropertiesin interfaceorg.gcube.informationsystem.base.reference.SchemaMixedElement
-
setAdditionalProperties
public void setAdditionalProperties(Map<String,Object> additionalProperties)
- Specified by:
setAdditionalPropertiesin interfaceorg.gcube.informationsystem.model.reference.properties.Property- Specified by:
setAdditionalPropertiesin interfaceorg.gcube.informationsystem.base.reference.SchemaMixedElement
-
getAdditionalProperty
public Object getAdditionalProperty(String key)
- Specified by:
getAdditionalPropertyin interfaceorg.gcube.informationsystem.model.reference.properties.Property- Specified by:
getAdditionalPropertyin interfaceorg.gcube.informationsystem.base.reference.SchemaMixedElement
-
setAdditionalProperty
public void setAdditionalProperty(String key, Object value)
- Specified by:
setAdditionalPropertyin interfaceorg.gcube.informationsystem.model.reference.properties.Property- Specified by:
setAdditionalPropertyin interfaceorg.gcube.informationsystem.base.reference.SchemaMixedElement
-
-