public class OPropertyRemote extends OPropertyImpl
OProperty.ATTRIBUTES
collate, customFields, defaultValue, description, document, globalRef, linkedClass, linkedType, mandatory, max, min, notNull, owner, readonly, regexp
Constructor and Description |
---|
OPropertyRemote(OClassImpl oClassImpl,
OGlobalProperty global) |
acquireSchemaReadLock, acquireSchemaWriteLock, checkEmbedded, checkForDateFormat, checkLinkTypeSupport, checkSupportLinkedClass, compareTo, dropIndexesInternal, equals, fromStream, fromStream, get, getAllIndexes, getCollate, getCustom, getCustomInternal, getCustomKeys, getDatabase, getDefaultValue, getDescription, getFullName, getFullNameQuoted, getId, getIndex, getIndexes, getLinkedClass, getLinkedType, getMax, getMin, getName, getOwnerClass, getRegexp, getType, hashCode, isDistributedCommand, isIndexed, isMandatory, isNotNull, isReadonly, quoteString, releaseSchemaReadLock, releaseSchemaWriteLock, removeCustom, set, setCollate, toNetworkStream, toStream, toString
public OPropertyRemote(OClassImpl oClassImpl, OGlobalProperty global)
public OPropertyImpl setType(OType type)
OProperty
public OPropertyImpl setDescription(String iDescription)
public void clearCustom()
public OPropertyImpl setCustom(String name, String value)
public OPropertyImpl setRegexp(String regexp)
public OPropertyImpl setLinkedClass(OClass linkedClass)
public OPropertyImpl setNotNull(boolean isNotNull)
public OPropertyImpl setDefaultValue(String defaultValue)
defaultValue
- can be nullOProperty.getDefaultValue()
public OPropertyImpl setMax(String max)
max
- can be nullOProperty.getMax()
public OPropertyImpl setMin(String min)
min
- can be nullOProperty.getMin()
public OPropertyImpl setReadonly(boolean isReadonly)
public OPropertyImpl setMandatory(boolean isMandatory)
public OIndex createIndex(String iType)
OPropertyImpl
createIndex
in interface OProperty
createIndex
in class OPropertyImpl
OClass.createIndex(String, OClass.INDEX_TYPE, String...)
.OClass#createIndex(String, OClass.INDEX_TYPE, String...)} instead.
public OIndex createIndex(OClass.INDEX_TYPE iType)
OPropertyImpl
createIndex
in interface OProperty
createIndex
in class OPropertyImpl
iType
- One of types supported.
OClass.createIndex(String, OClass.INDEX_TYPE, String...)
.OClass#createIndex(String, OClass.INDEX_TYPE, String...)} instead.
public OIndex createIndex(String iType, ODocument metadata)
OProperty
createIndex
in interface OProperty
createIndex
in class OPropertyImpl
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
createIndex
in class OPropertyImpl
iType
- One of types supported.
metadata
- the index metadataOClass.createIndex(String, OClass.INDEX_TYPE, String...)
.public OPropertyImpl dropIndexes()
OPropertyImpl
dropIndexes
in interface OProperty
dropIndexes
in class OPropertyImpl
Copyright © 2009–2020 OrientDB. All rights reserved.