Interface IMetaPrimitive


public interface IMetaPrimitive
Represents the type of an attribute member of an entity (IMetaObject).
  • Method Details

    • getDefaultValue

      String getDefaultValue()
      Returns the default value for this attribute type.
      Returns:
      the default value
    • isVirtual

      boolean isVirtual()
      Returns whether this attribute type is virtual.
      Returns:
      true if this attribute type is virtual, false otherwise
    • getValueType

      IMetaPrimitive.ValueType getValueType()
      Returns the value type of this IMetaPrimitive.
      Returns:
      the value type
    • getLength

      int getLength()
      Returns the length of this attribute type (if applicable).
      Returns:
      the length
    • getName

      String getName()
      Returns the name of this attribute type.
      Returns:
      the name
    • getParent

      IMetaObject getParent()
      Returns the parent object of this attribute type.
      Returns:
      the parent object
    • getType

      Returns the type of this attribute type.
      Returns:
      the type
    • getVirtualActionName

      String getVirtualActionName()
      Returns the name of the associated microflow of this virtual attribute type (if applicable).
      Returns:
      the name of the microflow if this attribute type is virtual, or null otherwise
    • getEnumValues

      Collection<? extends IMetaEnumValue> getEnumValues()
      Returns the enum value of this attribute type (if applicable).
      Returns:
      the enum values if this attribute type is an enum, or an empty collection otherwise
    • hasMetaDataAccess

      boolean hasMetaDataAccess(IContext context)
      Returns whether the specified context has access to this attribute type.
      Parameters:
      context - the context to check
      Returns:
      true if the context has access, false otherwise
    • getEnumeration

      IMetaEnumeration getEnumeration()
      Returns the enumeration when this attribute type is an enumeration.
      Returns:
      the enumeration
    • shouldLocalizeDate

      boolean shouldLocalizeDate()
      Returns whether dates should be localized for this attribute type.
      Returns:
      true if dates should be localized, false otherwise
    • isDecimal

      boolean isDecimal()
      Returns whether this attribute type is decimal.
      Returns:
      true if this attribute type is decimal, false otherwise
    • isNumeric

      boolean isNumeric()
      Returns whether this attribute type is numeric.
      Returns:
      true if this attribute type is numeric, false otherwise
    • getModelGUID

      UUID getModelGUID()
      Returns the identifier of the modeled attribute which is the base of this attribute type.
      Returns:
      the identifier of the modeled attribute