Enum CohortTopicStructure
- java.lang.Object
-
- java.lang.Enum<CohortTopicStructure>
-
- org.odpi.openmetadata.adminservices.configuration.properties.CohortTopicStructure
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CohortTopicStructure>
public enum CohortTopicStructure extends java.lang.Enum<CohortTopicStructure> implements java.io.Serializable
PermittedSynchronization defines the permitted directions of flow of metadata updates between open metadata and a third party technology. It is setup in the configuration for an integration connector and is enforced in the integration service (in the integration context to be precise).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTH_SINGLE_AND_DEDICATED_TOPICS
DEDICATED_TOPICS
SINGLE_TOPIC
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Return the default description for the key pattern for this enum instance.java.lang.String
getName()
Return the default name for this enum instance.int
getOrdinal()
Return the code for this enum instancejava.lang.String
toString()
Standard toString method.static CohortTopicStructure
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CohortTopicStructure[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEDICATED_TOPICS
public static final CohortTopicStructure DEDICATED_TOPICS
-
SINGLE_TOPIC
public static final CohortTopicStructure SINGLE_TOPIC
-
BOTH_SINGLE_AND_DEDICATED_TOPICS
public static final CohortTopicStructure BOTH_SINGLE_AND_DEDICATED_TOPICS
-
-
Method Detail
-
values
public static CohortTopicStructure[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CohortTopicStructure c : CohortTopicStructure.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CohortTopicStructure valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getOrdinal
public int getOrdinal()
Return the code for this enum instance- Returns:
- int key pattern code
-
getName
public java.lang.String getName()
Return the default name for this enum instance.- Returns:
- String default name
-
getDescription
public java.lang.String getDescription()
Return the default description for the key pattern for this enum instance.- Returns:
- String default description
-
toString
public java.lang.String toString()
Standard toString method.- Overrides:
toString
in classjava.lang.Enum<CohortTopicStructure>
- Returns:
- print out of variables in a JSON-style
-
-