Class Concept

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

public class Concept extends Classifier<Concept>
A Concept represents a category of entities sharing the same structure.

For example, Invoice would be a Concept. Single entities could be Concept instances, such as Invoice #1/2022.

See Also:
  • Constructor Details

    • Concept

      public Concept()
    • Concept

      public Concept(@Nonnull LionWebVersion lionWebVersion)
    • Concept

      public Concept(@Nullable Language language, @Nullable String name, @Nonnull String id, @Nullable String key)
    • Concept

      public Concept(@Nullable Language language, @Nullable String name, @Nonnull String id)
    • Concept

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

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

      public Concept(@Nonnull LionWebVersion lionWebVersion, @Nullable String name)
    • Concept

      public Concept(@Nullable String name)
  • Method Details

    • directAncestors

      @Nonnull public List<Classifier<?>> directAncestors()
      Specified by:
      directAncestors in class Classifier<Concept>
    • isAbstract

      public boolean isAbstract()
    • setAbstract

      public void setAbstract(boolean value)
    • isPartition

      public boolean isPartition()
    • setPartition

      public void setPartition(boolean value)
    • getExtendedConcept

      @Nullable public Concept getExtendedConcept()
    • getImplemented

      @Nonnull public List<Interface> getImplemented()
    • addImplementedInterface

      public void addImplementedInterface(@Nonnull Interface iface)
    • setExtendedConcept

      public void setExtendedConcept(@Nullable Concept extended)
    • inheritedFeatures

      @Nonnull public List<Feature<?>> inheritedFeatures()
      Specified by:
      inheritedFeatures in class Classifier<Concept>
    • getClassifier

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