public class OPropertyDistributed extends OPropertyEmbedded
OProperty.ATTRIBUTES
collate, customFields, defaultValue, description, document, globalRef, linkedClass, linkedType, mandatory, max, min, notNull, owner, readonly, regexp
Constructor and Description |
---|
OPropertyDistributed(OClassImpl owner) |
OPropertyDistributed(OClassImpl owner,
ODocument document) |
OPropertyDistributed(OClassImpl oClassImpl,
OGlobalProperty global) |
Modifier and Type | Method and Description |
---|---|
void |
clearCustom() |
OProperty |
setCollate(String collate) |
OPropertyImpl |
setCustom(String name,
String value) |
OPropertyImpl |
setDefaultValue(String defaultValue) |
OPropertyImpl |
setDescription(String iDescription) |
OPropertyImpl |
setLinkedClass(OClass linkedClass) |
OProperty |
setLinkedType(OType linkedType) |
OPropertyImpl |
setMandatory(boolean isMandatory) |
OPropertyImpl |
setMax(String max) |
OPropertyImpl |
setMin(String min) |
OProperty |
setName(String name) |
OPropertyImpl |
setNotNull(boolean isNotNull) |
OPropertyImpl |
setReadonly(boolean isReadonly) |
OPropertyImpl |
setRegexp(String regexp) |
OPropertyImpl |
setType(OType type)
Change the type.
|
clearCustomInternal, setCollateInternal, setCustomInternal, setDefaultValueInternal, setDescriptionInternal, setLinkedClassInternal, setLinkedTypeInternal, setMandatoryInternal, setMaxInternal, setMinInternal, setNameInternal, setNotNullInternal, setReadonlyInternal, setRegexpInternal, setTypeInternal
acquireSchemaReadLock, acquireSchemaWriteLock, checkEmbedded, checkForDateFormat, checkLinkTypeSupport, checkSupportLinkedClass, compareTo, createIndex, createIndex, createIndex, createIndex, dropIndexes, 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 OPropertyDistributed(OClassImpl owner)
public OPropertyDistributed(OClassImpl owner, ODocument document)
public OPropertyDistributed(OClassImpl oClassImpl, OGlobalProperty global)
public OPropertyImpl setType(OType type)
OProperty
setType
in interface OProperty
setType
in class OPropertyEmbedded
public OProperty setName(String name)
setName
in interface OProperty
setName
in class OPropertyEmbedded
public OPropertyImpl setDescription(String iDescription)
setDescription
in interface OProperty
setDescription
in class OPropertyEmbedded
public OProperty setCollate(String collate)
setCollate
in interface OProperty
setCollate
in class OPropertyEmbedded
public void clearCustom()
clearCustom
in interface OProperty
clearCustom
in class OPropertyEmbedded
public OPropertyImpl setCustom(String name, String value)
setCustom
in interface OProperty
setCustom
in class OPropertyEmbedded
public OPropertyImpl setRegexp(String regexp)
setRegexp
in interface OProperty
setRegexp
in class OPropertyEmbedded
public OPropertyImpl setLinkedClass(OClass linkedClass)
setLinkedClass
in interface OProperty
setLinkedClass
in class OPropertyEmbedded
public OProperty setLinkedType(OType linkedType)
setLinkedType
in interface OProperty
setLinkedType
in class OPropertyEmbedded
public OPropertyImpl setNotNull(boolean isNotNull)
setNotNull
in interface OProperty
setNotNull
in class OPropertyEmbedded
public OPropertyImpl setDefaultValue(String defaultValue)
setDefaultValue
in interface OProperty
setDefaultValue
in class OPropertyEmbedded
defaultValue
- can be nullOProperty.getDefaultValue()
public OPropertyImpl setMax(String max)
setMax
in interface OProperty
setMax
in class OPropertyEmbedded
max
- can be nullOProperty.getMax()
public OPropertyImpl setMin(String min)
setMin
in interface OProperty
setMin
in class OPropertyEmbedded
min
- can be nullOProperty.getMin()
public OPropertyImpl setReadonly(boolean isReadonly)
setReadonly
in interface OProperty
setReadonly
in class OPropertyEmbedded
public OPropertyImpl setMandatory(boolean isMandatory)
setMandatory
in interface OProperty
setMandatory
in class OPropertyEmbedded
Copyright © 2009–2020 OrientDB. All rights reserved.