
public abstract class OPropertyImpl extends ODocumentWrapperNoClass 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 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 |
document| Constructor and Description |
|---|
OPropertyImpl(OClassImpl oClassImpl,
OGlobalProperty global) |
fromStream, load, reload, reload, save, savegetDocument, load, load, reloadclone, 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
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()
OIndexManager.dropIndex(String) instead.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 OPropertyprotected static void checkSupportLinkedClass(OType type)
public OType getLinkedType()
getLinkedType in interface OPropertyprotected 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 String toString()
toString in class ODocumentWrapperpublic int hashCode()
hashCode in class ODocumentWrapperpublic boolean equals(Object obj)
equals in class ODocumentWrapperpublic void fromStream()
fromStream in class ODocumentWrapperNoClasspublic Collection<OIndex<?>> getAllIndexes()
getAllIndexes in interface OPropertypublic ODocument toStream()
toStream in class ODocumentWrapperpublic 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 ODocument toNetworkStream()
Copyright © 2009–2025 OrientDB. All rights reserved.