Enum EPPRegistryContact.SharePolicy
- java.lang.Object
-
- java.lang.Enum<EPPRegistryContact.SharePolicy>
-
- com.verisign.epp.codec.registry.v02.EPPRegistryContact.SharePolicy
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EPPRegistryContact.SharePolicy>
- Enclosing class:
- EPPRegistryContact
public static enum EPPRegistryContact.SharePolicy extends java.lang.Enum<EPPRegistryContact.SharePolicy>
Possible values for thesharePolicy
attribute.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EPPRegistryContact.SharePolicy
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EPPRegistryContact.SharePolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
perZone
public static final EPPRegistryContact.SharePolicy perZone
Constant for share policy where contacts are shared across all objects of the zone. There is a single pool of contacts defined for the zone.
-
perSystem
public static final EPPRegistryContact.SharePolicy perSystem
Constant for share policy where contacts are shared across all zones of the system. There is a single pool of contacts across all of the zones supported by the system.
-
-
Method Detail
-
values
public static EPPRegistryContact.SharePolicy[] 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 (EPPRegistryContact.SharePolicy c : EPPRegistryContact.SharePolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EPPRegistryContact.SharePolicy 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
-
-