Enum PermittedSynchronization
- java.lang.Object
-
- java.lang.Enum<PermittedSynchronization>
-
- org.odpi.openmetadata.adminservices.configuration.properties.PermittedSynchronization
-
- All Implemented Interfaces:
Serializable,Comparable<PermittedSynchronization>
public enum PermittedSynchronization extends Enum<PermittedSynchronization> implements 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_DIRECTIONSFROM_THIRD_PARTYOTHERTO_THIRD_PARTY
-
Field Summary
Fields Modifier and Type Field Description static StringENUM_TYPE_GUIDstatic StringENUM_TYPE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Return the default description for the key pattern for this enum instance.StringgetName()Return the default name for this enum instance.StringgetOpenTypeGUID()Return the unique identifier for the open metadata enum type that this enum class represents.StringgetOpenTypeName()Return the unique name for the open metadata enum type that this enum class represents.intgetOpenTypeOrdinal()Return the code for this enum that comes from the Open Metadata Type that this enum represents.intgetOrdinal()Return the code for this enum instanceStringtoString()Standard toString method.static PermittedSynchronizationvalueOf(String name)Returns the enum constant of this type with the specified name.static PermittedSynchronization[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOTH_DIRECTIONS
public static final PermittedSynchronization BOTH_DIRECTIONS
-
TO_THIRD_PARTY
public static final PermittedSynchronization TO_THIRD_PARTY
-
FROM_THIRD_PARTY
public static final PermittedSynchronization FROM_THIRD_PARTY
-
OTHER
public static final PermittedSynchronization OTHER
-
-
Field Detail
-
ENUM_TYPE_GUID
public static final String ENUM_TYPE_GUID
- See Also:
- Constant Field Values
-
ENUM_TYPE_NAME
public static final String ENUM_TYPE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static PermittedSynchronization[] 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 (PermittedSynchronization c : PermittedSynchronization.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PermittedSynchronization valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getOrdinal
public int getOrdinal()
Return the code for this enum instance- Returns:
- int key pattern code
-
getOpenTypeOrdinal
public int getOpenTypeOrdinal()
Return the code for this enum that comes from the Open Metadata Type that this enum represents.- Returns:
- int code number
-
getName
public String getName()
Return the default name for this enum instance.- Returns:
- String default name
-
getDescription
public String getDescription()
Return the default description for the key pattern for this enum instance.- Returns:
- String default description
-
getOpenTypeGUID
public String getOpenTypeGUID()
Return the unique identifier for the open metadata enum type that this enum class represents.- Returns:
- string guid
-
getOpenTypeName
public String getOpenTypeName()
Return the unique name for the open metadata enum type that this enum class represents.- Returns:
- string name
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classEnum<PermittedSynchronization>- Returns:
- print out of variables in a JSON-style
-
-