Class DefaultValue

java.lang.Object
com.emc.documentum.rest.model.DefaultValue

public class DefaultValue extends Object
Default value for AttributeInfo
  • Field Details

  • Constructor Details

    • DefaultValue

      public DefaultValue(String id, String expressionText, int expressionType)
      Constructor
      Parameters:
      id - default value id
      expressionText - default value expression text
      expressionType - default value expression type
    • DefaultValue

      public DefaultValue(String id, String expressionText, int expressionType, boolean builtIn)
      Constructor
      Parameters:
      id - default value id
      expressionText - default value expression text
      expressionType - default value expression type
      builtIn - built-in expression or not
    • DefaultValue

      @Deprecated public DefaultValue(String expressionText, boolean literal)
      Deprecated.
      deprecated, and this method only for internal use
      Parameters:
      expressionText - default value expression text
      literal - whether set default literal or expression
  • Method Details

    • getId

      public String getId()
      Get default value id
      Returns:
      default value id
    • getExpressionText

      public String getExpressionText()
      Get expression text
      Returns:
      expression text
    • isExpression

      public boolean isExpression()
      Check if default value is built-in expression
      Returns:
      true if it is built-in expression
    • getExpressionType

      public int getExpressionType()
      Get expression type
      Returns:
      expression type
    • appendExpressionText

      public void appendExpressionText(String moreExpression)
      Append expression
      Parameters:
      moreExpression - expression to append
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toObjectWithType

      public Object toObjectWithType()
      Convert expression to real object
      Returns:
      the expression type