Package com.xero.models.accounting
Enum Organisation.OrganisationEntityTypeEnum
- java.lang.Object
-
- java.lang.Enum<Organisation.OrganisationEntityTypeEnum>
-
- com.xero.models.accounting.Organisation.OrganisationEntityTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Organisation.OrganisationEntityTypeEnum>
- Enclosing class:
- Organisation
public static enum Organisation.OrganisationEntityTypeEnum extends Enum<Organisation.OrganisationEntityTypeEnum>
Organisation Entity Type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCOUNTING_PRACTICEACCOUNTING_PRACTICECHARITYCHARITYCLUB_OR_SOCIETYCLUB_OR_SOCIETYCOMPANYCOMPANYLOOK_THROUGH_COMPANYLOOK_THROUGH_COMPANYNOT_FOR_PROFITNOT_FOR_PROFITPARTNERSHIPPARTNERSHIPS_CORPORATIONS_CORPORATIONSELF_MANAGED_SUPERANNUATION_FUNDSELF_MANAGED_SUPERANNUATION_FUNDSOLE_TRADERSOLE_TRADERSUPERANNUATION_FUNDSUPERANNUATION_FUNDTRUSTTRUST
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Organisation.OrganisationEntityTypeEnumfromValue(String value)fromValueStringgetValue()getValueStringtoString()toStringstatic Organisation.OrganisationEntityTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Organisation.OrganisationEntityTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCOUNTING_PRACTICE
public static final Organisation.OrganisationEntityTypeEnum ACCOUNTING_PRACTICE
ACCOUNTING_PRACTICE
-
COMPANY
public static final Organisation.OrganisationEntityTypeEnum COMPANY
COMPANY
-
CHARITY
public static final Organisation.OrganisationEntityTypeEnum CHARITY
CHARITY
-
CLUB_OR_SOCIETY
public static final Organisation.OrganisationEntityTypeEnum CLUB_OR_SOCIETY
CLUB_OR_SOCIETY
-
LOOK_THROUGH_COMPANY
public static final Organisation.OrganisationEntityTypeEnum LOOK_THROUGH_COMPANY
LOOK_THROUGH_COMPANY
-
NOT_FOR_PROFIT
public static final Organisation.OrganisationEntityTypeEnum NOT_FOR_PROFIT
NOT_FOR_PROFIT
-
PARTNERSHIP
public static final Organisation.OrganisationEntityTypeEnum PARTNERSHIP
PARTNERSHIP
-
S_CORPORATION
public static final Organisation.OrganisationEntityTypeEnum S_CORPORATION
S_CORPORATION
-
SELF_MANAGED_SUPERANNUATION_FUND
public static final Organisation.OrganisationEntityTypeEnum SELF_MANAGED_SUPERANNUATION_FUND
SELF_MANAGED_SUPERANNUATION_FUND
-
SOLE_TRADER
public static final Organisation.OrganisationEntityTypeEnum SOLE_TRADER
SOLE_TRADER
-
SUPERANNUATION_FUND
public static final Organisation.OrganisationEntityTypeEnum SUPERANNUATION_FUND
SUPERANNUATION_FUND
-
TRUST
public static final Organisation.OrganisationEntityTypeEnum TRUST
TRUST
-
-
Method Detail
-
values
public static Organisation.OrganisationEntityTypeEnum[] 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 (Organisation.OrganisationEntityTypeEnum c : Organisation.OrganisationEntityTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Organisation.OrganisationEntityTypeEnum 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()
getValue- Returns:
- String value
-
toString
public String toString()
toString- Overrides:
toStringin classEnum<Organisation.OrganisationEntityTypeEnum>- Returns:
- String value
-
fromValue
public static Organisation.OrganisationEntityTypeEnum fromValue(String value)
fromValue- Parameters:
value- String
-
-