public enum PSRentFlag extends Enum<PSRentFlag>
| Enum Constant and Description |
|---|
LANDLORD_IS_OWNER |
TENANT_IS_OWNER |
| Modifier and Type | Method and Description |
|---|---|
String |
getVal() |
void |
setVal(String val) |
static PSRentFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PSRentFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PSRentFlag TENANT_IS_OWNER
public static final PSRentFlag LANDLORD_IS_OWNER
public static PSRentFlag[] values()
for (PSRentFlag c : PSRentFlag.values()) System.out.println(c);
public static PSRentFlag valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getVal()
public void setVal(String val)
Copyright © 2021. All rights reserved.