Package com.foxinmy.weixin4j.qy.type
Enum CorporateType
- java.lang.Object
-
- java.lang.Enum<CorporateType>
-
- com.foxinmy.weixin4j.qy.type.CorporateType
-
- All Implemented Interfaces:
Serializable,Comparable<CorporateType>
public enum CorporateType extends Enum<CorporateType>
企业类型- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CorporateTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CorporateType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CORP
public static final CorporateType CORP
企业
-
GOVINS
public static final CorporateType GOVINS
政府以及事业单位
-
OTHER
public static final CorporateType OTHER
其他组织
-
TEAM
public static final CorporateType TEAM
团队号
-
-
Method Detail
-
values
public static CorporateType[] 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 (CorporateType c : CorporateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CorporateType 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
-
-