Package oracle.iam.platform.entitymgr.vo
Class SchemaAttribute
java.lang.Object
oracle.iam.platform.entitymgr.vo.SchemaAttribute
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the description of the attributeGet the length of the attributegetName()Get the name of the attributeGet the precision of the attributeGet the attribute's data type in the target systemgetType()Get the attribute's matching data type in entity managerbooleanGet whether the attribute is requiredvoidsetDescription(String desc) Set the description of the attributevoidsetLength(int len) Set the length of the attributevoidSet the name of the attributevoidsetPrecision(int precision) Set the precision of the attributevoidsetRequired(boolean required) Set whether the attribute is requiredvoidsetTargetType(String targetType) Set the attribute's data type in the target systemvoidSet the attribute's matching data type in entity manager
-
Constructor Details
-
SchemaAttribute
public SchemaAttribute(String name, String type, String targetType, Integer len, Integer precision, boolean required, String desc) Represent an attribute in a schema- Parameters:
name- attribute nametype- matching data type in entity managertargetType- data type in the target systemlen- length, null if it is not applicableprecision- precision, null if it is not applicablerequired- if it is requireddesc- description
-
-
Method Details
-
getName
Get the name of the attribute- Returns:
- attribute name
-
setName
Set the name of the attribute- Parameters:
name- attribute name
-
getType
Get the attribute's matching data type in entity manager- Returns:
- attribute's matching data type in entity manager
-
setType
Set the attribute's matching data type in entity manager- Parameters:
type- attribute's matching data type in entity manager
-
getTargetType
Get the attribute's data type in the target system- Returns:
- attribute's data type in the target system
-
setTargetType
Set the attribute's data type in the target system- Parameters:
targetType- attribute's data type in the target system
-
getLength
Get the length of the attribute- Returns:
- length, null if it is not applicable
-
setLength
public void setLength(int len) Set the length of the attribute- Parameters:
len- length
-
getPrecision
Get the precision of the attribute- Returns:
- precision, null if it is not applicable
-
setPrecision
public void setPrecision(int precision) Set the precision of the attribute- Parameters:
precision- precision
-
isRequired
public boolean isRequired()Get whether the attribute is required- Returns:
- if the attribute is required
-
setRequired
public void setRequired(boolean required) Set whether the attribute is required- Parameters:
required- if the attribute is required
-
getDescription
Get the description of the attribute- Returns:
- description
-
setDescription
Set the description of the attribute- Parameters:
desc- description
-