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()
OProperty
getFullName
in interface OProperty
public String getDescription()
getDescription
in interface OProperty
public OProperty setDescription(String iDescription)
setDescription
in interface OProperty
public void set(OProperty.ATTRIBUTES attribute, Object iValue)
public OClass getLinkedClass()
OProperty
getLinkedClass
in interface OProperty
public OType getLinkedType()
getLinkedType
in interface OProperty
public OProperty setNotNull(boolean iNotNull)
setNotNull
in interface OProperty
public OCollate getCollate()
getCollate
in interface OProperty
public OProperty setCollate(String iCollateName)
setCollate
in interface OProperty
public boolean isMandatory()
isMandatory
in interface OProperty
public OProperty setMandatory(boolean mandatory)
setMandatory
in interface OProperty
public boolean isReadonly()
isReadonly
in interface OProperty
public OProperty setReadonly(boolean iReadonly)
setReadonly
in interface OProperty
public String getMin()
OProperty
public OProperty setMin(String min)
setMin
in interface OProperty
min
- can be nullOProperty.getMin()
public String getMax()
OProperty
public OProperty setMax(String max)
setMax
in interface OProperty
max
- can be nullOProperty.getMax()
public String getDefaultValue()
OProperty
getDefaultValue
in interface OProperty
public OProperty setDefaultValue(String defaultValue)
setDefaultValue
in interface OProperty
defaultValue
- can be nullOProperty.getDefaultValue()
public OIndex createIndex(OClass.INDEX_TYPE iType)
OProperty
createIndex
in interface OProperty
iType
- One of types supported.
OClass.createIndex(String, OClass.INDEX_TYPE, String...)
.public OIndex createIndex(String iType)
OProperty
createIndex
in interface OProperty
OClass.createIndex(String, OClass.INDEX_TYPE, String...)
.public OIndex createIndex(String iType, ODocument metadata)
OProperty
createIndex
in interface OProperty
iType
- One of types supported.
metadata
- the index metadataOClass.createIndex(String, OClass.INDEX_TYPE, String...)
.public OIndex createIndex(OClass.INDEX_TYPE iType, ODocument metadata)
OProperty
createIndex
in interface OProperty
iType
- One of types supported.
metadata
- the index metadataOClass.createIndex(String, OClass.INDEX_TYPE, String...)
.public OProperty setLinkedClass(OClass oClass)
setLinkedClass
in interface OProperty
public OProperty setLinkedType(OType type)
setLinkedType
in interface OProperty
public OProperty setCollate(OCollate collate)
setCollate
in interface OProperty
@Deprecated public OProperty dropIndexes()
OProperty
dropIndexes
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()
OProperty
OProperty.getAllIndexes()
instead.public OProperty setType(OType iType)
OProperty
public void removeCustom(String iName)
removeCustom
in interface OProperty
public void clearCustom()
clearCustom
in interface OProperty
public Set<String> getCustomKeys()
getCustomKeys
in interface OProperty
public OClass getOwnerClass()
getOwnerClass
in interface OProperty
public Object get(OProperty.ATTRIBUTES iAttribute)
public int compareTo(OProperty o)
compareTo
in interface Comparable<OProperty>
Copyright © 2009–2020 OrientDB. All rights reserved.