Package net.webpdf.wsclient.openapi
Enum OperationQrSwissPaymentPdf.ModeEnum
- java.lang.Object
-
- java.lang.Enum<OperationQrSwissPaymentPdf.ModeEnum>
-
- net.webpdf.wsclient.openapi.OperationQrSwissPaymentPdf.ModeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationQrSwissPaymentPdf.ModeEnum>
- Enclosing class:
- OperationQrSwissPaymentPdf
public static enum OperationQrSwissPaymentPdf.ModeEnum extends Enum<OperationQrSwissPaymentPdf.ModeEnum>
Selects the page relative position to place the barcode at. * insertBefore = Places the barcode on a new, empty page before the selected page. * appendAtEnd = Places the barcode on a new, empty page at the end of the document. * addToPage = Place the barcode on the selected page.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_TO_PAGEAPPEND_AT_ENDINSERT_BEFORE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationQrSwissPaymentPdf.ModeEnumfromValue(String value)StringgetValue()StringtoString()static OperationQrSwissPaymentPdf.ModeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationQrSwissPaymentPdf.ModeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSERT_BEFORE
public static final OperationQrSwissPaymentPdf.ModeEnum INSERT_BEFORE
-
APPEND_AT_END
public static final OperationQrSwissPaymentPdf.ModeEnum APPEND_AT_END
-
ADD_TO_PAGE
public static final OperationQrSwissPaymentPdf.ModeEnum ADD_TO_PAGE
-
-
Method Detail
-
values
public static OperationQrSwissPaymentPdf.ModeEnum[] 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 (OperationQrSwissPaymentPdf.ModeEnum c : OperationQrSwissPaymentPdf.ModeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationQrSwissPaymentPdf.ModeEnum 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<OperationQrSwissPaymentPdf.ModeEnum>
-
fromValue
public static OperationQrSwissPaymentPdf.ModeEnum fromValue(String value)
-
-