
public abstract class OPropertyImpl extends Object implements OProperty
OProperty.ATTRIBUTES| Modifier and Type | Field and Description |
|---|---|
protected OCollate |
collate |
protected Map<String,String> |
customFields |
protected String |
defaultValue |
protected String |
description |
protected ODocument |
document |
protected OGlobalProperty |
globalRef |
protected OClass |
linkedClass |
protected OType |
linkedType |
protected boolean |
mandatory |
protected String |
max |
protected String |
min |
protected boolean |
notNull |
protected OClassImpl |
owner |
protected boolean |
readonly |
protected String |
regexp |
| Constructor and Description |
|---|
OPropertyImpl(OClassImpl oClassImpl,
OGlobalProperty global) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitclearCustom, setCollate, setCustom, setDefaultValue, setDescription, setLinkedClass, setLinkedType, setMandatory, setMax, setMin, setName, setNotNull, setReadonly, setRegexp, setTypeprotected final OClassImpl owner
protected OType linkedType
protected OClass linkedClass
protected String description
protected boolean mandatory
protected boolean notNull
protected String min
protected String max
protected String defaultValue
protected String regexp
protected boolean readonly
protected OCollate collate
protected OGlobalProperty globalRef
protected ODocument document
public OPropertyImpl(OClassImpl oClassImpl, OGlobalProperty global)
public String getFullName()
OPropertygetFullName in interface OPropertypublic String getFullNameQuoted()
public int compareTo(OProperty o)
compareTo in interface Comparable<OProperty>public OIndex createIndex(OClass.INDEX_TYPE iType)
createIndex in interface OPropertyiType - One of types supported.
OClass#createIndex(String, OClass.INDEX_TYPE, String...)} instead.public OIndex createIndex(String iType)
createIndex in interface OPropertyiType - OClass#createIndex(String, OClass.INDEX_TYPE, String...)} instead.public OIndex createIndex(OClass.INDEX_TYPE iType, ODocument metadata)
OPropertycreateIndex in interface OPropertyiType - One of types supported.
metadata - the index metadataOClass.createIndex(String, OClass.INDEX_TYPE, String...).public OIndex createIndex(String iType, ODocument metadata)
OPropertycreateIndex in interface OPropertyiType - One of types supported.
metadata - the index metadataOClass.createIndex(String, OClass.INDEX_TYPE, String...).@Deprecated public OPropertyImpl dropIndexes()
dropIndexes in interface OProperty@Deprecated public void dropIndexesInternal()
dropIndexes()@Deprecated public OIndex getIndex()
OClass.getInvolvedIndexes(String...) instead.@Deprecated public Set<OIndex> getIndexes()
OClass.getInvolvedIndexes(String...) instead.getIndexes in interface OProperty@Deprecated public boolean isIndexed()
OClass.areIndexed(String...) instead.OPropertyOProperty.getAllIndexes()
instead.public OClass getOwnerClass()
getOwnerClass in interface OPropertypublic OClass getLinkedClass()
getLinkedClass in interface OPropertypublic static void checkSupportLinkedClass(OType type)
public OType getLinkedType()
getLinkedType in interface OPropertypublic static void checkLinkTypeSupport(OType type)
public boolean isMandatory()
isMandatory in interface OPropertypublic boolean isReadonly()
isReadonly in interface OPropertypublic String getMin()
OProperty
public String getMax()
OProperty
public String getDefaultValue()
OPropertygetDefaultValue in interface OPropertypublic void removeCustom(String iName)
removeCustom in interface OPropertypublic Set<String> getCustomKeys()
getCustomKeys in interface OPropertypublic Object get(OProperty.ATTRIBUTES attribute)
public void set(OProperty.ATTRIBUTES attribute, Object iValue)
public OCollate getCollate()
getCollate in interface OPropertypublic OProperty setCollate(OCollate collate)
setCollate in interface OPropertypublic String getDescription()
getDescription in interface OPropertypublic void fromStream()
public Collection<OIndex> getAllIndexes()
getAllIndexes in interface OPropertypublic ODocument toStream()
public void acquireSchemaReadLock()
public void releaseSchemaReadLock()
public void acquireSchemaWriteLock()
public void releaseSchemaWriteLock()
public void checkEmbedded()
protected ODatabaseDocumentInternal getDatabase()
protected void checkForDateFormat(String iDateAsString)
protected boolean isDistributedCommand()
public void fromStream(ODocument document)
public ODocument toNetworkStream()
Copyright © 2009–2025 OrientDB. All rights reserved.