
public class OPropertyAbstractDelegate extends Object implements OProperty
OProperty.ATTRIBUTES| Constructor and Description |
|---|
OPropertyAbstractDelegate(OProperty delegate) |
protected final OProperty delegate
public OPropertyAbstractDelegate(OProperty delegate)
public String getFullName()
OPropertygetFullName in interface OPropertypublic String getDescription()
getDescription in interface OPropertypublic OProperty setDescription(String iDescription)
setDescription in interface OPropertypublic void set(OProperty.ATTRIBUTES attribute, Object iValue)
public OClass getLinkedClass()
OPropertygetLinkedClass in interface OPropertypublic OType getLinkedType()
getLinkedType in interface OPropertypublic OProperty setNotNull(boolean iNotNull)
setNotNull in interface OPropertypublic OCollate getCollate()
getCollate in interface OPropertypublic OProperty setCollate(String iCollateName)
setCollate in interface OPropertypublic boolean isMandatory()
isMandatory in interface OPropertypublic OProperty setMandatory(boolean mandatory)
setMandatory in interface OPropertypublic boolean isReadonly()
isReadonly in interface OPropertypublic OProperty setReadonly(boolean iReadonly)
setReadonly in interface OPropertypublic String getMin()
OProperty
public OProperty setMin(String min)
setMin in interface OPropertymin - can be nullOProperty.getMin()public String getMax()
OProperty
public OProperty setMax(String max)
setMax in interface OPropertymax - can be nullOProperty.getMax()public String getDefaultValue()
OPropertygetDefaultValue in interface OPropertypublic OProperty setDefaultValue(String defaultValue)
setDefaultValue in interface OPropertydefaultValue - can be nullOProperty.getDefaultValue()public OIndex<?> createIndex(OClass.INDEX_TYPE iType)
OPropertycreateIndex in interface OPropertyiType - One of types supported.
OClass.createIndex(String, OClass.INDEX_TYPE, String...).public OIndex<?> createIndex(String iType)
OPropertycreateIndex in interface OPropertyOClass.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...).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 OProperty setLinkedClass(OClass oClass)
setLinkedClass in interface OPropertypublic OProperty setLinkedType(OType type)
setLinkedType in interface OPropertypublic OProperty setCollate(OCollate collate)
setCollate in interface OProperty@Deprecated public OProperty dropIndexes()
OPropertydropIndexes in interface OProperty@Deprecated public Set<OIndex<?>> getIndexes()
getIndexes in interface OProperty@Deprecated public OIndex<?> getIndex()
public Collection<OIndex<?>> getAllIndexes()
getAllIndexes in interface OProperty@Deprecated public boolean isIndexed()
OPropertyOProperty.getAllIndexes() instead.public OProperty setType(OType iType)
OPropertypublic void removeCustom(String iName)
removeCustom in interface OPropertypublic void clearCustom()
clearCustom in interface OPropertypublic Set<String> getCustomKeys()
getCustomKeys in interface OPropertypublic OClass getOwnerClass()
getOwnerClass in interface OPropertypublic Object get(OProperty.ATTRIBUTES iAttribute)
public int compareTo(OProperty o)
compareTo in interface Comparable<OProperty>Copyright © 2009–2025 OrientDB. All rights reserved.