Class OPropertyEmbedded
java.lang.Object
com.orientechnologies.orient.core.metadata.schema.OPropertyImpl
com.orientechnologies.orient.core.metadata.schema.OPropertyEmbedded
- All Implemented Interfaces:
OProperty,Comparable<OProperty>
- Direct Known Subclasses:
OPropertyDistributed
Created by tglman on 14/06/17.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.orientechnologies.orient.core.metadata.schema.OProperty
OProperty.ATTRIBUTES -
Field Summary
Fields inherited from class com.orientechnologies.orient.core.metadata.schema.OPropertyImpl
collate, customFields, defaultValue, description, globalRef, linkedClass, linkedClassName, linkedType, mandatory, max, min, notNull, owner, readonly, regexp -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOPropertyEmbedded(OClassImpl owner) protectedOPropertyEmbedded(OClassImpl oClassImpl, OGlobalProperty global) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidsetCollate(String collate) protected OPropertysetCollateInternal(String iCollate) protected voidsetCustomInternal(String iName, String iValue) setDefaultValue(String defaultValue) protected voidsetDefaultValueInternal(String defaultValue) setDescription(String iDescription) protected voidsetDescriptionInternal(String iDescription) setLinkedClass(OClass linkedClass) protected voidsetLinkedClassInternal(OClass iLinkedClass) setLinkedType(OType linkedType) protected voidsetLinkedTypeInternal(OType iLinkedType) setMandatory(boolean isMandatory) protected voidsetMandatoryInternal(boolean isMandatory) protected voidsetMaxInternal(String max) protected voidsetMinInternal(String min) protected voidsetNameInternal(String name) setNotNull(boolean isNotNull) protected voidsetNotNullInternal(boolean isNotNull) setReadonly(boolean isReadonly) protected voidsetReadonlyInternal(boolean isReadonly) protected voidsetRegexpInternal(String regexp) Change the type.protected voidsetTypeInternal(OType iType) Change the type.Methods inherited from class com.orientechnologies.orient.core.metadata.schema.OPropertyImpl
acquireSchemaReadLock, acquireSchemaWriteLock, checkEmbedded, checkForDateFormat, checkLinkTypeSupport, checkSupportLinkedClass, compareTo, createIndex, createIndex, createIndex, createIndex, dropIndexes, dropIndexesInternal, equals, 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
-
Constructor Details
-
OPropertyEmbedded
-
OPropertyEmbedded
-
-
Method Details
-
setType
Description copied from interface:OPropertyChange the type. It checks for compatibility between the change of type. -
setTypeInternal
Change the type. It checks for compatibility between the change of type.- Parameters:
iType-
-
setName
-
setNameInternal
-
setDescription
-
setDescriptionInternal
-
setCollate
-
setCollateInternal
-
clearCustom
public void clearCustom() -
clearCustomInternal
protected void clearCustomInternal() -
setCustom
-
setCustomInternal
-
setRegexp
-
setRegexpInternal
-
setLinkedClass
-
setLinkedClassInternal
-
setLinkedType
-
setLinkedTypeInternal
-
setNotNull
-
setNotNullInternal
protected void setNotNullInternal(boolean isNotNull) -
setDefaultValue
- Parameters:
defaultValue- can be null- Returns:
- this property
- See Also:
-
setDefaultValueInternal
-
setMax
- Parameters:
max- can be null- Returns:
- this property
- See Also:
-
setMaxInternal
-
setMin
- Parameters:
min- can be null- Returns:
- this property
- See Also:
-
setMinInternal
-
setReadonly
-
setReadonlyInternal
protected void setReadonlyInternal(boolean isReadonly) -
setMandatory
-
setMandatoryInternal
protected void setMandatoryInternal(boolean isMandatory)
-