Interface ComplexType

All Superinterfaces:
HasProperties, ModelElement, NamedElement, StructureElement, Type
All Known Subinterfaces:
AbstractEntity, Entity
All Known Implementing Classes:
DefaultAbstractEntity, DefaultComplexType, DefaultEntity

public interface ComplexType extends Type, StructureElement
Defines the data type of a Characteristic as being a complex value.
  • Method Details

    • getExtendingElements

      default List<ComplexType> getExtendingElements()
      Returns:
      a List of ComplexTypes which extend this Entity
    • isAbstractEntity

      default boolean isAbstractEntity()
    • getAllProperties

      default List<Property> getAllProperties()
      Returns:
      all Propertys defined in the context of this Complex Type as well as all extended Complex Types
    • getUrn

      default String getUrn()
      Specified by:
      getUrn in interface Type
      Returns:
      the URN which identifies the type
    • getExtends

      default Optional<ComplexType> getExtends()
      Returns:
      the ComplexType that is extended by this Complex Type, if present
    • isComplexType

      default boolean isComplexType()
      Specified by:
      isComplexType in interface StructureElement
      Specified by:
      isComplexType in interface Type