
public class OImmutableProperty extends Object implements OProperty
OProperty.ATTRIBUTES| Constructor and Description |
|---|
OImmutableProperty(OProperty property,
OImmutableClass owner) |
public OImmutableProperty(OProperty property, OImmutableClass owner)
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 OProperty setLinkedClass(OClass oClass)
setLinkedClass in interface OPropertypublic OType getLinkedType()
getLinkedType in interface OPropertypublic OProperty setLinkedType(OType type)
setLinkedType 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 OProperty setCollate(OCollate collate)
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 dropIndexes()
OPropertydropIndexes in interface OPropertypublic Set<OIndex> getIndexes()
getIndexes in interface OPropertypublic OIndex getIndex()
public Collection<OIndex> getAllIndexes()
getAllIndexes in interface OPropertypublic 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 attribute)
public int compareTo(OProperty other)
compareTo in interface Comparable<OProperty>public Comparable<Object> getMaxComparable()
public Comparable<Object> getMinComparable()
Copyright © 2009–2025 OrientDB. All rights reserved.