Interface AttributeContainer

All Known Subinterfaces:
TypeInstance
All Known Implementing Classes:
BasicAttributeContainer, DefaultTypeInstance, DefaultViewTypeInstance, SynchronizedTypeInstance

public interface AttributeContainer
Provides APIs for storing, retreiving, and managing attributes, attribute content, and attribute context. Attribute values are identified by AttributeIdentifiers. See the Metamodel documentation for more information about Meta elements.

Supported API: true

Extendable: false
  • Method Details

    • getConstraintContainer

      ConstraintContainer getConstraintContainer()
      Gets the object for the association that plays role: theConstraintContainer.

      Supported API: true
      Returns:
      ConstraintContainer
    • setConstraintContainer

      void setConstraintContainer(ConstraintContainer a_ConstraintContainer)
      Sets the object for the association that plays role: theConstraintContainer.

      Supported API: true
      Parameters:
      a_ConstraintContainer -
    • getDescriptorContainer

      DescriptorContainer getDescriptorContainer()
      Gets the object for the association that plays role: theDescriptorContainer.

      Supported API: true
      Returns:
      DescriptorContainer
    • setDescriptorContainer

      void setDescriptorContainer(DescriptorContainer a_DescriptorContainer)
      Sets the object for the association that plays role: theDescriptorContainer.

      Supported API: true
      Parameters:
      a_DescriptorContainer -
    • getAttributeTypeIdentifiers

      AttributeTypeIdentifier[] getAttributeTypeIdentifiers()
      Returns all current AttributeTypeIdentifiers in this container. (Does not include AttributeTypeIdentifiers for which the state of every corresponding AttributeIdentifier is State.DELETED.) Returns an empty array if no matches are found.

      Supported API: true
      Returns:
      AttributeTypeIdentifier[]
    • getAttributeTypeIdentifiers

      AttributeTypeIdentifier[] getAttributeTypeIdentifiers(String logical_form)
      Returns all current AttributeTypeIdentifiers in this container that match the given logical form. (Does not include AttributeTypeIdentifiers for which the state of every corresponding AttributeIdentifier is State.DELETED.) Returns an empty array if no matches are found.

      Supported API: true
      Parameters:
      logical_form -
      Returns:
      AttributeTypeIdentifier[]
    • getAttributeIdentifiers

      AttributeIdentifier[] getAttributeIdentifiers()
      Returns all current AttributeIdentifiers in this container. (Does not include AttributeIdentifiers for which the state is State.DELETED.) (Does not include AttributeIdentifiers for which the state is State.DEFAULT, unless there are no other AttributeIdentifiers with matching AttributeTypeIdentifiers in the container for which the state is not State.DEFAULT or State.DELETED.) Returns an empty array if no matches are found.

      Supported API: true
      Returns:
      AttributeIdentifier[]
    • getAttributeIdentifiers

      AttributeIdentifier[] getAttributeIdentifiers(State the_state)
      Returns all AttributeIdentifiers in this container that match the given state. If the given state is null, returns all AttributeIdentifiers in this container. Returns an empty array if no matches are found.

      Supported API: true
      Parameters:
      the_state -
      Returns:
      AttributeIdentifier[]
    • getAttributeIdentifiers

      AttributeIdentifier[] getAttributeIdentifiers(AttributeTypeIdentifier the_attribute_type_identifier)
      Returns all current AttributeIdentifiers in this container associated with the given AttributeTypeIdentifier. (Does not include AttributeIdentifiers for which the state is State.DELETED.) (Does not include AttributeIdentifiers for which the state is State.DEFAULT, unless there are no other AttributeIdentifiers with matching AttributeTypeIdentifiers in the container for which the state is not State.DEFAULT or State.DELETED.) Returns an empty array if no matches are found.

      Supported API: true
      Parameters:
      the_attribute_type_identifier - The attribute type identifier which identifies the type for the attribute identifier.
      Returns:
      AttributeIdentifier[]
    • getAttributeIdentifiers

      AttributeIdentifier[] getAttributeIdentifiers(AttributeTypeIdentifier the_attribute_type_identifier, State the_state)
      Returns all AttributeIdentifiers in this container associated with the given AttributeTypeIdentifier that match the given state. If the given state is null, returns all AttributeIdentifiers in this container associated with the given AttributeTypeIdentifier. Returns an empty array if no matches are found.

      Supported API: true
      Parameters:
      the_attribute_type_identifier -
      the_state -
      Returns:
      AttributeIdentifier[]
    • getAttributeIdentifiers

      AttributeIdentifier[] getAttributeIdentifiers(AssociationIdentifier the_association_identifier)
      Returns all current AttributeIdentifiers in this container defined in the context of the given AssociationIdentifier. (Does not include AttributeIdentifiers for which the state is State.DELETED.) (Does not include AttributeIdentifiers for which the state is State.DEFAULT, unless there are no other AttributeIdentifiers in the container defined in the context of the given AssociationIdentifier with matching AttributeTypeIdentifiersfor which the state is not State.DEFAULT or State.DELETED.) Returns an empty array if no matches are found.

      Supported API: true
      Parameters:
      the_association_identifier -
      Returns:
      AttributeIdentifier[]
    • getAttributeIdentifiers

      AttributeIdentifier[] getAttributeIdentifiers(AssociationIdentifier the_association_identifier, State the_state)
      Returns all AttributeIdentifiers in this container defined in the context of the given AssociationIdentifier that match the given state. If the given state is null, returns all AttributeIdentifiers in this container defined in the context of the given AssociationIdentifier. Returns an empty array if no matches are found.

      Supported API: true
      Parameters:
      the_association_identifier -
      the_state -
      Returns:
      AttributeIdentifier[]
    • getAttributeIdentifiers

      AttributeIdentifier[] getAttributeIdentifiers(AssociationIdentifier the_association_identifier, AttributeTypeIdentifier the_attribute_type_identifier, boolean is_absolute)
      Returns all current AttributeIdentifiers in this container defined in the context of the given AssociationIdentifier and associated with the given AttributeTypeIdentifier. If 'is_absolute' is true, then the given AttributeTypeIdentifier is assumed to be defined in the context of the AssociationTypeIdentifier corresponding to the given AssociationIdentifier. Otherwise, a new AttributeTypeIdentifier is constructed by merging the given AttributeTypeIdentifier onto the context of the AssociationTypeIdentifier corresponding to the given AssociationIdentifier. (Does not include AttributeIdentifiers for which the state is State.DELETED.) (Does not include AttributeIdentifiers for which the state is State.DEFAULT, unless there are no other AttributeIdentifiers in this container defined in the context of the given AssociationIdentifier with matching AttributeTypeIdentifiers for which the state is not State.DEFAULT or State.DELETED.) Returns an empty array if no matches are found.

      Supported API: true
      Parameters:
      the_association_identifier -
      the_attribute_type_identifier -
      is_absolute -
      Returns:
      AttributeIdentifier[]
    • getAttributeIdentifiers

      AttributeIdentifier[] getAttributeIdentifiers(AssociationIdentifier the_association_identifier, AttributeTypeIdentifier the_attribute_type_identifier, boolean is_absolute, State the_state)
      Returns all AttributeIdentifiers in this container defined in the context of the given AssociationIdentifier and associated with the given AttributeTypeIdentifier and that match the given state. If 'is_absolute' is true, then the given AttributeTypeIdentifier is assumed to be defined in the context of the AssociationTypeIdentifier corresponding to the given AssociationIdentifier. Otherwise, a new AttributeTypeIdentifier is constructed by merging the given AttributeTypeIdentifier onto the context of the AssociationTypeIdentifier corresponding to the given AssociationIdentifier. If the given state is null, returns all AttributeIdentifiers in this container defined in the context of the given AssociationIdentifier and associated with the given AttributeTypeIdentifier. Returns an empty array if no matches are found.

      Supported API: true
      Parameters:
      the_association_identifier -
      the_attribute_type_identifier -
      is_absolute -
      the_state -
      Returns:
      AttributeIdentifier[]
    • getAttributeIdentifiers

      AttributeIdentifier[] getAttributeIdentifiers(String logical_form)
      Returns all current AttributeIdentifiers in this container associated with an AttributeTypeIdentifier which matches the given logical form. (Does not include AttributeIdentifiers for which the state is State.DELETED.) (Does not include AttributeIdentifiers for which the state is State.DEFAULT, unless there are no other AttributeIdentifiers with matching AttributeTypeIdentifiers in the container for which the state is not State.DEFAULT or State.DELETED.) Returns an empty array if no matches are found.

      Supported API: true
      Parameters:
      logical_form -
      Returns:
      AttributeIdentifier[]
    • getAttributeIdentifiers

      AttributeIdentifier[] getAttributeIdentifiers(TypeInstanceIdentifier the_type_instance_identifier)
      Returns all current AttributeIdentifiers in this container defined directly in the context of the given TypeInstanceIdentifier. (Does not include AttributeIdentifiers for which the state is State.DELETED.) (Does not include AttributeIdentifiers for which the state is State.DEFAULT, unless there are no other AttributeIdentifiers in the container defined directly in the context of the given TypeInstanceIdentifier with matching AttributeTypeIdentifiersfor which the state is not State.DEFAULT or State.DELETED.) Returns an empty array if no matches are found.

      Supported API: true
      Parameters:
      the_type_instance_identifier -
      Returns:
      AttributeIdentifier[]
    • getAttributeIdentifiers

      AttributeIdentifier[] getAttributeIdentifiers(TypeInstanceIdentifier the_type_instance_identifier, State the_state)
      Returns all AttributeIdentifiers in this container defined directly in the context of the given TypeInstanceIdentifier that match the given state. If the given state is null, returns all AttributeIdentifiers in this container defined directly in the context of the given TypeInstanceIdentifier. Returns an empty array if no matches are found.

      Supported API: true
      Parameters:
      the_type_instance_identifier -
      the_state -
      Returns:
      AttributeIdentifier[]
    • getAssociationIdentifiers

      AssociationIdentifier[] getAssociationIdentifiers(TypeInstanceIdentifier the_type_instance_identifier)
      Returns all current AssociationIdentifiers in this container that are equivalent to the given TypeInstanceIdentifier. (Does not include AssociationIdentifiers for which the state is State.DELETED.) (Does not include AssociationIdentifiers for which the state is State.DEFAULT, unless there are no other AssociationIdentifiers with matching AssociationTypeIdentifiers in the container for which the state is not State.DEFAULT or State.DELETED.) Returns an empty array if no matches are found.

      Supported API: true
      Parameters:
      the_type_instance_identifier -
      Returns:
      AssociationIdentifier[]
    • getAssociationIdentifiers

      AssociationIdentifier[] getAssociationIdentifiers(TypeInstanceIdentifier the_type_instance_identifier, State the_state)
      Returns all AssociationIdentifiers in this container that are equivalent to the given TypeInstanceIdentifier and that match the given state. If the given state is null, returns all AssociationIdentifiers in this container that are equivalent to the given TypeInstanceIdentifier. Returns an empty array if no matches are found.

      Supported API: true
      Parameters:
      the_type_instance_identifier -
      the_state -
      Returns:
      AssociationIdentifier[]
    • getAssociationIdentifiers

      AssociationIdentifier[] getAssociationIdentifiers(TypeIdentifier the_type_identifier)
      Returns all current AssociationIdentifiers in this container for which the corresponding AssociationTypeIdentifier is equivalent to the given TypeIdentifier. (Does not include AssociationIdentifiers for which the state is State.DELETED.) (Does not include AssociationIdentifiers for which the state is State.DEFAULT, unless there are no other AssociationIdentifiers with matching AssociationTypeIdentifiers in the container for which the state is not State.DEFAULT or State.DELETED.) Returns an empty array if no matches are found.

      Supported API: true
      Parameters:
      the_type_identifier -
      Returns:
      AssociationIdentifier[]
    • getAssociationIdentifiers

      AssociationIdentifier[] getAssociationIdentifiers(TypeIdentifier the_type_identifier, State the_state)
      Returns all AssociationIdentifiers in this container for which the corresponding AssociationTypeIdentifier is equivalent to the given TypeIdentifier and that match the given state. If the given state is null, returns all AssociationIdentifiers in this container for which the corresponding AssociationTypeIdentifier is equivalent to the given TypeIdentifier. Returns an empty array if no matches are found.

      Supported API: true
      Parameters:
      the_type_identifier -
      the_state -
      Returns:
      AssociationIdentifier[]
    • get

      Object get(AttributeIdentifier the_attribute_identifier)
      Returns the content associated with the given AttributeIdentifier in this container. Returns null if the AttributeIdentifier is not found in the container. If the content is an AttributeContainerFunction, returns the result of calculate(this) called on the function.

      Supported API: true
      Parameters:
      the_attribute_identifier -
      Returns:
      Object
    • get

      Object get(AttributeTypeIdentifier the_attribute_type_identifier)
      Returns the content associated with the given AttributeTypeIdentifier in this container. If there is exactly one AttributeIdentifier associated with the given AttributeTypeIdentifier in the container, the return value will be a single Object. If there is more than one AttributeIdentifier associated with the given AttributeTypeIdentifier in the container, the return value will be an array of Objects. If there are no current AttributeIdentifiers associated with the given AttributeTypeIdentifier in the container, the return value will be null. (Does not include content for AttributeIdentifiers for which the state is State.DELETED.) (Does not include content for AttributeIdentifiers for which the state is State.DEFAULT, unless there are no other AttributeIdentifiers in this container with matching AttributeTypeIdentifiers for which the state is not State.DEFAULT or State.DELETED.) If any of the individual content Objects are AttributeContainerFunctions, returns instead the result of calculate(this) called on the function.

      Supported API: true
      Parameters:
      the_attribute_type_identifier -
      Returns:
      Object
    • getSingle

      Object getSingle(AttributeTypeIdentifier the_attribute_type_identifier)
      Returns the content associated with the given AttributeTypeIdentifier in this container. If there is exactly one AttributeIdentifier associated with the given AttributeTypeIdentifier in the container, the return value will be a single Object. If there is more than one AttributeIdentifier associated with the given AttributeTypeIdentifier in the container, the return value will be a single Object, selected randomly from the content associated with those AttributeIdentifiers. If there are no current AttributeIdentifiers associated with the given AttributeTypeIdentifier in the container, the return value will be null. (Does not include content for AttributeIdentifiers for which the state is State.DELETED.) (Does not include content for AttributeIdentifiers for which the state is State.DEFAULT, unless there are no other AttributeIdentifiers in this container with matching AttributeTypeIdentifiers for which the state is not State.DEFAULT or State.DELETED.) If the content is an AttributeContainerFunction, returns the result of calculate(this) called on the function.

      Supported API: true
      Parameters:
      the_attribute_type_identifier -
      Returns:
      Object
    • getSingle

      Object getSingle(String logical_form)
      Returns the content associated with all AttributeTypeIdentifiers matching the given logical form in this container. If there is exactly one AttributeIdentifier associated with the matching AttributeTypeIdentifiers in the container, the return value will be a single Object. If there is more than one AttributeIdentifier associated with the matching AttributeTypeIdentifiers in the container, the return value will be a single Object, selected randomly from the content associated with those AttributeIdentifiers. If there are no current AttributeIdentifiers associated with the matching AttributeTypeIdentifier in the container or there is no matching AttributeTypeIdentifier in the container, the return value will be null. (Does not include content for AttributeIdentifiers for which the state is State.DELETED.) (Does not include content for AttributeIdentifiers for which the state is State.DEFAULT, unless there are no other AttributeIdentifiers in this container with matching AttributeTypeIdentifiers for which the state is not State.DEFAULT or State.DELETED.) If the content is an AttributeContainerFunction, returns the result of calculate(this) called on the function.

      Supported API: true
      Parameters:
      logical_form -
      Returns:
      Object
    • put

      AttributeIdentifier put(AttributeIdentifier the_attribute_identifier, Object the_content) throws IllegalContentException, ConstraintException
      Stores the given content in this container, in assocation with the given AttributeIdentifier. If the given AttributeIdentifier does not already exist in the container, and the given content is null, then the state associated with the given AttributeIdentifier is set to State.UNINTIALIZED. If the given AttributeIdentifier does not already exist in the container, and the given content is not null, then the state associated with the given AttributeIdentifier is set to State.New. If the given AttributeIdentifier already exists in the container and the previous state associated with the given AttributeIdentifier was State.UNINTIALIZED, the associated state becomes State.NEW. If the given AttributeIdentifier already exists in the container and the previous state associated with the given AttributeIdentifier was State.UNCHANGED, the associated state becomes State.CHANGED. If the given AttributeIdentifier already exists in the container and the previous state associated with the given AttributeIdentifier was State.DELETED, the associated state becomes State.CHANGED. If the given AttributeIdentifier already exists in the container and the previous state associated with the given AttributeIdentifier was State.DEFAULT, the associated state becomes State.NEW. Returns the actual Attributeidentifier used to store the content. This will be different from the given AttributeIdentifier in the case where the previous state associated with the given AttributeIdentifier was State.DEFAULT and in the case where equivalent AttributeIdentifier(s) may already be present in the AttributeContainer. In all cases, the returned AttributeIdentifier represents the most accurate and efficient AttributeIdentifier to be used for future access to the stored content. Throws IllegalContentException if the content is an AttributeContainerFunction and the function is recursive. (The function has the given AttributeIdentifier or the AttributeTypeIdentifier corresponding to the given AttributeIdentifier as one of its arguments.) Throws ConstraintException if adding/changing the given content violates one or more of the constraints in the associated ConstraintContainer.

      Supported API: true
      Parameters:
      the_attribute_identifier -
      the_content -
      Returns:
      AttributeIdentifier
      Throws:
      IllegalContentException
      ConstraintException
    • put

      AttributeIdentifier put(AttributeIdentifier the_attribute_identifier, Object the_content, ConstraintContainer the_constraint_container) throws IllegalContentException, ConstraintException
      Stores the given content in this container, in assocation with the given AttributeIdentifier. If the given AttributeIdentifier does not already exist in the container, and the given content is null, then the state associated with the given AttributeIdentifier is set to State.UNINTIALIZED. If the given AttributeIdentifier does not already exist in the container, and the given content is not null, then the state associated with the given AttributeIdentifier is set to State.New. If the given AttributeIdentifier already exists in the container and the previous state associated with the given AttributeIdentifier was State.UNINTIALIZED, the associated state becomes State.NEW. If the given AttributeIdentifier already exists in the container and the previous state associated with the given AttributeIdentifier was State.UNCHANGED, the associated state becomes State.CHANGED. If the given AttributeIdentifier already exists in the container and the previous state associated with the given AttributeIdentifier was State.DELETED, the associated state becomes State.CHANGED. If the given AttributeIdentifier already exists in the container and the previous state associated with the given AttributeIdentifier was State.DEFAULT, the associated state becomes State.NEW. Returns the actual Attributeidentifier used to store the content. This will be different from the given AttributeIdentifier in the case where the previous state associated with the given AttributeIdentifier was State.DEFAULT and in the case where equivalent AttributeIdentifier(s) may already be present in the AttributeContainer. In all cases, the returned AttributeIdentifier represents the most accurate and efficient AttributeIdentifier to be used for future access to the stored content. Throws IllegalContentException if the content is an AttributeContainerFunction and the function is recursive. (The function has the given AttributeIdentifier or the AttributeTypeIdentifier corresponding to the given AttributeIdentifier as one of its arguments.) Throws ConstraintException if adding/changing the given content violates one or more of the constraints in the associated ConstraintContainer.

      Supported API: true
      Parameters:
      the_attribute_identifier -
      the_content -
      the_constraint_container -
      Returns:
      AttributeIdentifier
      Throws:
      IllegalContentException
      ConstraintException
    • remove

      void remove(AttributeIdentifier the_attribute_identifier) throws ConstraintException
      Deletes the content associated with the given AttributeIdentifier from this container. If the previous state associated with the given AttributeIdentifier was State.UNINTIALIZED or State.NEW, the given AttributeIdentifier and associated content are removed from the container. If the previous state associated with the given AttributeIdentifier was State.UNCHANGED or State.CHANGED, the associated state becomes State.DELETED. Throws ConstraintException if deleting the associated content violates one or more of the constraints in the associated ConstraintContainer.

      Supported API: true
      Parameters:
      the_attribute_identifier -
      Throws:
      ConstraintException
    • remove

      void remove(AttributeTypeIdentifier the_attribute_type_identifier) throws ConstraintException
      Deletes the content associated with all AttributeIdentifiers associated with the given AttributeTypeIdentifier from this container. If the previous state associated with one of the AttributeIdentifiers was State.UNINTIALIZED or State.NEW, the AttributeIdentifier and associated content are removed from the container. If the previous state associated with one of the AttributeIdentifiers was State.UNCHANGED or State.CHANGED, the associated state becomes State.DELETED. Throws ConstraintException if deleting any of the associaited content violates one or more of the constraints in the associated ConstraintContainer.

      Supported API: true
      Parameters:
      the_attribute_type_identifier -
      Throws:
      ConstraintException
    • remove

      void remove(AttributeIdentifier the_attribute_identifier, ConstraintContainer the_constraint_container) throws ConstraintException
      Deletes the content associated with the given AttributeIdentifier from this container. If the previous state associated with the given AttributeIdentifier was State.UNINTIALIZED or State.NEW, the given AttributeIdentifier and associated content are removed from the container. If the previous state associated with the given AttributeIdentifier was State.UNCHANGED or State.CHANGED, the associated state becomes State.DELETED. Throws ConstraintException if deleting the associated content violates one or more of the constraints in the associated ConstraintContainer.

      Supported API: true
      Parameters:
      the_attribute_identifier -
      the_constraint_container -
      Throws:
      ConstraintException
    • remove

      void remove(AttributeTypeIdentifier the_attribute_type_identifier, ConstraintContainer the_constraint_container) throws ConstraintException
      Deletes the content associated with all AttributeIdentifiers associated with the given AttributeTypeIdentifier from this container. If the previous state associated with one of the AttributeIdentifiers was State.UNINTIALIZED or State.NEW, the AttributeIdentifier and associated content are removed from the container. If the previous state associated with one of the AttributeIdentifiers was State.UNCHANGED or State.CHANGED, the associated state becomes State.DELETED. Throws ConstraintException if deleting any of the associaited content violates one or more of the constraints in the associated ConstraintContainer.

      Supported API: true
      Parameters:
      the_attribute_type_identifier -
      the_constraint_container -
      Throws:
      ConstraintException
    • getDescriptor

      DefinitionDescriptor getDescriptor(DefinitionIdentifier the_definition_identifier)
      Returns the DefinitionDescriptor corresponding to the given DefinitionIdentifier from the associated DescriptorContainer. Returns null if there is no associated DescriptorContainer, or if there is no corresponding DefinitionDescriptor in the descriptor container.

      Supported API: true
      Parameters:
      the_definition_identifier -
      Returns:
      DefinitionDescriptor
    • getAttributeTypeSummary

      AttributeTypeSummary getAttributeTypeSummary(AttributeTypeIdentifier the_attribute_type_identifier)
      Returns an AttributeTypeSummary for the AttributeTypeIdentifier.

      Supported API: true
      Parameters:
      the_attribute_type_identifier -
      Returns:
      AttributeTypeSummary
    • getAttributeTypeSummary

      AttributeTypeSummary getAttributeTypeSummary(AttributeTypeIdentifier the_attribute_type_identifier, ConstraintContainer the_constraint_container, DescriptorContainer the_descriptor_container)
      Returns an AttributeTypeSummary for the AttributeTypeIdentifier.

      Supported API: true
      Parameters:
      the_attribute_type_identifier -
      the_constraint_container -
      the_descriptor_container -
      Returns:
      AttributeTypeSummary
    • getAttributeTypeSummary

      AttributeTypeSummary getAttributeTypeSummary(AssociationIdentifier the_association_identifier, AttributeTypeIdentifier the_attribute_type_identifier, boolean is_absolute)
      Returns an AttributeTypeSummary for the AttributeTypeIdentifier.

      Supported API: true
      Parameters:
      the_association_identifier -
      the_attribute_type_identifier -
      is_absolute -
      Returns:
      AttributeTypeSummary
    • getAttributeTypeSummary

      AttributeTypeSummary getAttributeTypeSummary(AssociationIdentifier the_association_identifier, AttributeTypeIdentifier the_attribute_type_identifier, boolean is_absolute, ConstraintContainer the_constraint_container, DescriptorContainer the_descriptor_container)
      Returns an AttributeTypeSummary for the AttributeTypeIdentifier.

      Supported API: true
      Parameters:
      the_association_identifier -
      the_attribute_type_identifier -
      is_absolute -
      the_constraint_container -
      the_descriptor_container -
      Returns:
      AttributeTypeSummary
    • isDirty

      boolean isDirty()
      Returns true if the state associated with any AttributeIdentifier in this container is State.NEW, State.CHANGED, or State.DELETED; otherwise, it returns false.

      Supported API: true
      Returns:
      boolean
    • isContentOfState

      boolean isContentOfState(AttributeIdentifier the_attribute_identifier, State the_state)
      Returns true if the state associated with the given AttributeIdentifier is equal to the given state; otherwise, it returns false.

      Supported API: true
      Parameters:
      the_attribute_identifier -
      the_state -
      Returns:
      boolean
    • getState

      State getState(AttributeIdentifier the_attribute_identifier)
      Returns the state associated with the given AttributeIdentifier in this container. Returns null if the AttributeIdentifier is not in the container.

      Supported API: true
      Parameters:
      the_attribute_identifier -
      Returns:
      State
    • setState

      void setState(AttributeIdentifier the_attribute_identifier, State the_state)
      Sets the state associated with the given AttributeIdentifier in this container. Has no effect if the AttributeIdentifier is not in the container.

      Supported API: true
      Parameters:
      the_attribute_identifier -
      the_state -
    • acceptDefaultContent

      void acceptDefaultContent()
      Changes the assocaited state of all AttributeIdentifiers in this container that are associated with the state State.DEFAULT to the state State.NEW.

      Supported API: true
    • clone

      AttributeContainer clone(boolean compact)


      Supported API: true
      Parameters:
      compact -
      Returns:
      AttributeContainer
    • getIdentifier

      ElementIdentifier getIdentifier()


      Supported API: true
      Returns:
      ElementIdentifier