Class AtlasAttributeDef
java.lang.Object
org.odpi.openmetadata.adapters.connectors.apacheatlas.resource.properties.AtlasAttributeDef
- Direct Known Subclasses:
AtlasRelationshipAttributeDef
AtlasAttributeDef describes a single attribute of an Apache Atlas type definition.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
int
int
int
boolean
boolean
boolean
boolean
isUnique()
void
setCardinality
(AtlasCardinality cardinality) void
setConstraints
(List<AtlasConstraintDef> constraints) void
setDefaultValue
(String defaultValue) void
setDescription
(String description) void
setDisplayName
(String displayName) void
setIncludeInNotification
(boolean includeInNotification) void
setIndexable
(boolean indexable) void
setIndexType
(AtlasIndexType indexType) void
void
setOptional
(boolean optional) void
setOptions
(Map<String, String> options) void
setSearchWeight
(int searchWeight) void
setTypeName
(String typeName) void
setUnique
(boolean unique) void
setValuesMaxCount
(int valuesMaxCount) void
setValuesMinCount
(int valuesMinCount) toString()
-
Field Details
-
DEFAULT_SEARCH_WEIGHT
public static final int DEFAULT_SEARCH_WEIGHT- See Also:
-
SEARCH_WEIGHT_ATTR_NAME
- See Also:
-
INDEX_TYPE_ATTR_NAME
- See Also:
-
ATTR_DEF_OPTION_SOFT_REFERENCE
- See Also:
-
ATTR_DEF_OPTION_APPEND_ON_PARTIAL_UPDATE
- See Also:
-
COUNT_NOT_SET
public static final int COUNT_NOT_SET- See Also:
-
-
Constructor Details
-
AtlasAttributeDef
public AtlasAttributeDef()
-
-
Method Details
-
getName
-
setName
-
getTypeName
-
setTypeName
-
isOptional
public boolean isOptional() -
setOptional
public void setOptional(boolean optional) -
getCardinality
-
setCardinality
-
getValuesMinCount
public int getValuesMinCount() -
setValuesMinCount
public void setValuesMinCount(int valuesMinCount) -
getValuesMaxCount
public int getValuesMaxCount() -
setValuesMaxCount
public void setValuesMaxCount(int valuesMaxCount) -
isUnique
public boolean isUnique() -
setUnique
public void setUnique(boolean unique) -
isIndexable
public boolean isIndexable() -
setIndexable
public void setIndexable(boolean indexable) -
isIncludeInNotification
public boolean isIncludeInNotification() -
setIncludeInNotification
public void setIncludeInNotification(boolean includeInNotification) -
getDefaultValue
-
setDefaultValue
-
getDescription
-
setDescription
-
getSearchWeight
public int getSearchWeight() -
setSearchWeight
public void setSearchWeight(int searchWeight) -
getIndexType
-
setIndexType
-
getConstraints
-
setConstraints
-
getOptions
-
setOptions
-
getDisplayName
-
setDisplayName
-
toString
-