Enum ResourceType
- All Implemented Interfaces:
Serializable,Comparable<ResourceType>,java.lang.constant.Constable
public enum ResourceType extends Enum<ResourceType>
Enumeration to represent type of resource being performed.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description AGREEMENTThe agreement resourceAPPLICATIONApplication ResourceAPPLICATION_CREDENTIALApplication Credential ResourceCREDIT_LIMITThe credit limit resourceCUSTOMERCustomer ResourceCUSTOMER_USERCustomer UserINVOICEThe invoice resourceLICENSELicense ResourceMPN_ASSOCIATIONMPN association ResourceORDEROrder ResourcePARTNER_RELATIONSHIPPartner Relationship ResourcePARTNER_USERPartner User ResourceREFERRALThe referral resourceSOFTWARE_DOWNLOAD_LINKThe software download link resourceSOFTWARE_KEYThe software key resourceSUBSCRIPTIONSubscription ResourceTHIRD_PARTY_ADD_ONThird party add on ResourceTRANSFERTransfer ResourceUNDEFINEDThe undefined -
Method Summary
Modifier and Type Method Description StringtoString()Converts the object to a string.static ResourceTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ResourceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED
The undefined -
CUSTOMER
Customer Resource -
CUSTOMER_USER
Customer User -
ORDER
Order Resource -
SUBSCRIPTION
Subscription Resource -
LICENSE
License Resource -
THIRD_PARTY_ADD_ON
Third party add on Resource -
MPN_ASSOCIATION
MPN association Resource -
TRANSFER
Transfer Resource -
APPLICATION
Application Resource -
APPLICATION_CREDENTIAL
Application Credential Resource -
PARTNER_USER
Partner User Resource -
PARTNER_RELATIONSHIP
Partner Relationship Resource -
REFERRAL
The referral resource -
SOFTWARE_KEY
The software key resource -
SOFTWARE_DOWNLOAD_LINK
The software download link resource -
CREDIT_LIMIT
The credit limit resource -
INVOICE
The invoice resource -
AGREEMENT
The agreement resource
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
toString
Converts the object to a string.- Overrides:
toStringin classEnum<ResourceType>- Returns:
- A string that represents this object.
-