Package net.webpdf.wsclient.openapi
Enum OperationItem.PathPositionEnum
- java.lang.Object
-
- java.lang.Enum<OperationItem.PathPositionEnum>
-
- net.webpdf.wsclient.openapi.OperationItem.PathPositionEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationItem.PathPositionEnum>
- Enclosing class:
- OperationItem
public static enum OperationItem.PathPositionEnum extends Enum<OperationItem.PathPositionEnum>
Selects the position where the entry should be created. The path passed in \"path\" will be interpreted based on this value. * before = An entry will be generated on the same level before the entry that was selected with \"path. * inplace = The entry selected with \"path\" will be treated as a parent element and will contain the new generated entry. * after = An entry will be generated on the same level after the entry that was selected with \"path.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationItem.PathPositionEnumfromValue(String value)StringgetValue()StringtoString()static OperationItem.PathPositionEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationItem.PathPositionEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEFORE
public static final OperationItem.PathPositionEnum BEFORE
-
INPLACE
public static final OperationItem.PathPositionEnum INPLACE
-
AFTER
public static final OperationItem.PathPositionEnum AFTER
-
-
Method Detail
-
values
public static OperationItem.PathPositionEnum[] 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 (OperationItem.PathPositionEnum c : OperationItem.PathPositionEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationItem.PathPositionEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<OperationItem.PathPositionEnum>
-
fromValue
public static OperationItem.PathPositionEnum fromValue(String value)
-
-