
public class OPropertyImpl extends ODocumentWrapperNoClass implements OProperty
OProperty.ATTRIBUTESdocument| Constructor and Description |
|---|
OPropertyImpl(OClassImpl oClassImpl,
OGlobalProperty global) |
fromStream, load, load, reload, reload, save, savegetDocument, load, load, reloadpublic OPropertyImpl(OClassImpl oClassImpl, OGlobalProperty global)
public String getFullName()
OPropertygetFullName in interface OPropertypublic String getFullNameQuoted()
public OPropertyImpl setType(OType type)
OPropertypublic 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 OPropertypublic OPropertyImpl setLinkedClass(OClass linkedClass)
setLinkedClass in interface OPropertyprotected static void checkSupportLinkedClass(OType type)
public OType getLinkedType()
getLinkedType in interface OPropertypublic OProperty setLinkedType(OType linkedType)
setLinkedType in interface OPropertyprotected static void checkLinkTypeSupport(OType type)
public OPropertyImpl setNotNull(boolean isNotNull)
setNotNull in interface OPropertypublic boolean isMandatory()
isMandatory in interface OPropertypublic OPropertyImpl setMandatory(boolean isMandatory)
setMandatory in interface OPropertypublic boolean isReadonly()
isReadonly in interface OPropertypublic OPropertyImpl setReadonly(boolean isReadonly)
setReadonly in interface OPropertypublic String getMin()
OProperty
public OPropertyImpl setMin(String min)
setMin in interface OPropertymin - can be nullOProperty.getMin()public String getMax()
OProperty
public OPropertyImpl setMax(String max)
setMax in interface OPropertymax - can be nullOProperty.getMax()public String getDefaultValue()
OPropertygetDefaultValue in interface OPropertypublic OPropertyImpl setDefaultValue(String defaultValue)
setDefaultValue in interface OPropertydefaultValue - can be nullOProperty.getDefaultValue()public OPropertyImpl setRegexp(String regexp)
public OPropertyImpl setCustom(String name, String value)
public void removeCustom(String iName)
removeCustom in interface OPropertypublic void clearCustom()
clearCustom 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 OProperty setCollate(String collate)
setCollate in interface OPropertypublic String getDescription()
getDescription in interface OPropertypublic OPropertyImpl setDescription(String iDescription)
setDescription 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 OProperty@OBeforeSerialization public ODocument toStream()
toStream in class ODocumentWrapperpublic void acquireSchemaReadLock()
public void releaseSchemaReadLock()
public void acquireSchemaWriteLock()
public void releaseSchemaWriteLock()
public void checkEmbedded()
protected ODatabaseDocumentInternal getDatabase()
Copyright © 2009–2025 OrientDB. All rights reserved.