public class SchemaAttributeBuilder extends ReferenceableBuilder
additionalProperties, extendedProperties, latestChange, qualifiedName, typeId, typeNameclassifications, errorHandler, repositoryHelper, serverName, serviceName| Constructor and Description |
|---|
SchemaAttributeBuilder(String qualifiedName,
String displayName,
int elementPosition,
String cardinality,
String defaultValueOverride,
Map<String,String> additionalProperties,
Map<String,Object> extendedProperties,
OMRSRepositoryHelper repositoryHelper,
String serviceName,
String serverName)
Deprecated.
|
SchemaAttributeBuilder(String qualifiedName,
String displayName,
OMRSRepositoryHelper repositoryHelper,
String serviceName,
String serverName)
Minimal constructor
|
SchemaAttributeBuilder(String qualifiedName,
String displayName,
String description,
int elementPosition,
int minCardinality,
int maxCardinality,
boolean isDeprecated,
String defaultValueOverride,
boolean allowsDuplicateValues,
boolean orderedValues,
EnumPropertyValue sortOrder,
int minimumLength,
int length,
int significantDigits,
boolean isNullable,
String nativeJavaClass,
List<String> aliases,
Map<String,String> additionalProperties,
String anchorGUID,
String typeName,
String typeId,
Map<String,Object> extendedProperties,
OMRSRepositoryHelper repositoryHelper,
String serviceName,
String serverName)
Constructor supporting all properties for a schema attribute entity.
|
| Modifier and Type | Method and Description |
|---|---|
InstanceProperties |
getInstanceProperties(String methodName)
Return the supplied bean properties in an InstanceProperties object.
|
InstanceProperties |
getNameInstanceProperties(String methodName)
Return the supplied bean properties that represent a name in an InstanceProperties object.
|
InstanceProperties |
getQualifiedNameInstanceProperties(String methodName)
Return the supplied bean properties that represent a name in an InstanceProperties object.
|
getEntityClassifications, getSearchInstanceProperties, getTypeId, getTypeNamegetEntityClassifications, setClassificationspublic SchemaAttributeBuilder(String qualifiedName, String displayName, OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName)
qualifiedName - unique namedisplayName - new value for the display name.repositoryHelper - helper methodsserviceName - name of this OMASserverName - name of local server@Deprecated public SchemaAttributeBuilder(String qualifiedName, String displayName, int elementPosition, String cardinality, String defaultValueOverride, Map<String,String> additionalProperties, Map<String,Object> extendedProperties, OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName)
qualifiedName - unique namedisplayName - new value for the display name.elementPosition - position of the attribute in the parent schemaType.cardinality - does the attribute repeat?defaultValueOverride - override for the Type's default value.additionalProperties - additional propertiesextendedProperties - properties from the subtype.repositoryHelper - helper methodsserviceName - name of this OMASserverName - name of local serverpublic SchemaAttributeBuilder(String qualifiedName, String displayName, String description, int elementPosition, int minCardinality, int maxCardinality, boolean isDeprecated, String defaultValueOverride, boolean allowsDuplicateValues, boolean orderedValues, EnumPropertyValue sortOrder, int minimumLength, int length, int significantDigits, boolean isNullable, String nativeJavaClass, List<String> aliases, Map<String,String> additionalProperties, String anchorGUID, String typeName, String typeId, Map<String,Object> extendedProperties, OMRSRepositoryHelper repositoryHelper, String serviceName, String serverName)
qualifiedName - unique namedisplayName - new value for the display name.description - new value for the description.elementPosition - position of the attribute in the parent schemaType.minCardinality - is the attribute optional?maxCardinality - does the attribute repeat?isDeprecated - is this element deprecated?defaultValueOverride - override for the Type's default value.allowsDuplicateValues - unique values ?orderedValues - ordered values ?sortOrder - sort order if orderedminimumLength - minimum length of data in fieldlength - size of data fieldsignificantDigits - number of digits on right of decimal pointisNullable - can the value be null?nativeJavaClass - name of implementation class for Javaaliases - aliases for the fieldadditionalProperties - additional propertiesanchorGUID - unique identifier of any attached assettypeName - name of the type for this schema elementtypeId - unique identifier of the type for this schema elementextendedProperties - properties from the subtype.repositoryHelper - helper methodsserviceName - name of this OMASserverName - name of local serverpublic InstanceProperties getInstanceProperties(String methodName) throws InvalidParameterException
getInstanceProperties in class ReferenceableBuildermethodName - name of the calling methodInvalidParameterException - there is a problem with the propertiespublic InstanceProperties getNameInstanceProperties(String methodName)
getNameInstanceProperties in class ReferenceableBuildermethodName - name of the calling methodpublic InstanceProperties getQualifiedNameInstanceProperties(String methodName)
getQualifiedNameInstanceProperties in class ReferenceableBuildermethodName - name of the calling methodCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.