Class SchemaAttribute

java.lang.Object
oracle.iam.platform.entitymgr.vo.SchemaAttribute

public class SchemaAttribute extends Object
  • 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 name
      type - matching data type in entity manager
      targetType - data type in the target system
      len - length, null if it is not applicable
      precision - precision, null if it is not applicable
      required - if it is required
      desc - description
  • Method Details

    • getName

      public String getName()
      Get the name of the attribute
      Returns:
      attribute name
    • setName

      public void setName(String name)
      Set the name of the attribute
      Parameters:
      name - attribute name
    • getType

      public String getType()
      Get the attribute's matching data type in entity manager
      Returns:
      attribute's matching data type in entity manager
    • setType

      public void setType(String type)
      Set the attribute's matching data type in entity manager
      Parameters:
      type - attribute's matching data type in entity manager
    • getTargetType

      public String getTargetType()
      Get the attribute's data type in the target system
      Returns:
      attribute's data type in the target system
    • setTargetType

      public void setTargetType(String targetType)
      Set the attribute's data type in the target system
      Parameters:
      targetType - attribute's data type in the target system
    • getLength

      public Integer 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

      public Integer 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

      public String getDescription()
      Get the description of the attribute
      Returns:
      description
    • setDescription

      public void setDescription(String desc)
      Set the description of the attribute
      Parameters:
      desc - description