Enum Class EntityDependency.EntityCardinality

java.lang.Object
java.lang.Enum<EntityDependency.EntityCardinality>
com.priint.pubserver.entity.EntityDependency.EntityCardinality
All Implemented Interfaces:
Serializable, Comparable<EntityDependency.EntityCardinality>, Constable
Enclosing class:
EntityDependency

public static enum EntityDependency.EntityCardinality extends Enum<EntityDependency.EntityCardinality>
The cardinality of an EntityDependency.

You can access a cardinality either via its name or its label.

  • Enum Constant Details

    • ONE_TO_ONE

      public static final EntityDependency.EntityCardinality ONE_TO_ONE
      For a source entity exactly one target entity is expected. If no target exists or more than one exists this dependency is invalid.
    • ONE_TO_NONE_OR_ONE

      public static final EntityDependency.EntityCardinality ONE_TO_NONE_OR_ONE
      For a source entity either none or one target entity is expected. If more than one target exists this dependency is invalid.
    • ONE_TO_NONE_OR_MANY

      public static final EntityDependency.EntityCardinality ONE_TO_NONE_OR_MANY
      For a source entity either none, or an arbitrary number of target entities are expected. Any number of targets are consitent with with.
    • ONE_TO_ONE_OR_MANY

      public static final EntityDependency.EntityCardinality ONE_TO_ONE_OR_MANY
      For a source entity one or more target entities are expected. If no target exists this dependency is invalid.
  • Method Details