Enum Class ReferenceType

java.lang.Object
java.lang.Enum<ReferenceType>
org.iplass.mtp.entity.definition.properties.ReferenceType
All Implemented Interfaces:
Serializable, Comparable<ReferenceType>, Constable

public enum ReferenceType extends Enum<ReferenceType>
ReferencePropertyの参照タイプ。
  • Enum Constant Details

    • ASSOCIATION

      public static final ReferenceType ASSOCIATION
      通常の参照。
    • COMPOSITION

      public static final ReferenceType COMPOSITION
      親子関係をなす参照。参照元が削除された場合は、参照先も削除対象となる
  • Method Details

    • values

      public static ReferenceType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ReferenceType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null