Interface TraceObjectSchema.AttributeSchema

All Known Implementing Classes:
DefaultTraceObjectSchema.DefaultAttributeSchema
Enclosing interface:
TraceObjectSchema

public static interface TraceObjectSchema.AttributeSchema
Schema descriptor for a child attribute.
  • Field Details

  • Method Details

    • getName

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

      Get the schema name for the named attribute
      Returns:
      the schema name
    • isRequired

      boolean isRequired()
      Check if the named attribute must always be present
      Returns:
      true if required, false if optional
    • isFixed

      boolean isFixed()
      Check if the named attribute can be modified
      Returns:
      true if immutable, false if mutable
    • isHidden

      default boolean isHidden(String name)
      Check if the named attribute should be displayed be default

      This is purely a UI hint. It has no other semantic consequence.

      Parameters:
      name - the actual name of the attribute, in case this is the default attribute
      Returns:
      true if hidden, false if visible
    • getHidden