Class PrimitiveType

All Implemented Interfaces:
IKeyed<PrimitiveType>, INamed, NamespacedEntity, ClassifierInstance<Concept>, HasFeatureValues, HasSettableParent, Node

public class PrimitiveType extends DataType<PrimitiveType>
This represents an arbitrary primitive value, which is not an enumeration.

BooleanType, NumberType, and StringType are common PrimitiveTypes.

See Also:
  • Constructor Details

    • PrimitiveType

      public PrimitiveType()
    • PrimitiveType

      public PrimitiveType(@Nonnull LionWebVersion lionWebVersion, @Nonnull String id)
    • PrimitiveType

      public PrimitiveType(@Nonnull String id)
    • PrimitiveType

      public PrimitiveType(@Nonnull LionWebVersion lionWebVersion, @Nullable Language language, @Nullable String name)
    • PrimitiveType

      public PrimitiveType(@Nullable Language language, @Nullable String name)
    • PrimitiveType

      public PrimitiveType(@Nullable Language language, @Nullable String name, String id)
  • Method Details

    • getClassifier

      public Concept getClassifier()
      Description copied from interface: Node
      The concept of which this Node is an instance. The Concept should not be abstract.