Package com.tailf.maapi
Enum Class MaapiSchemas.CSShallowType
- All Implemented Interfaces:
Serializable
,Comparable<MaapiSchemas.CSShallowType>
,Constable
- Enclosing class:
- MaapiSchemas
Enum containing all possible node values.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionconfd_buf_t (binary ...)u_int32_t (bits size 32)u_int64_t (bits size 64)int (boolean)confd_buf_t (string ...)as C_XMLBEGIN), with CDB instance indexstruct confd_date (xs:date)struct confd_datetimestruct confd_decimal64 (decimal64)default value indicatordouble (xs:float),xs:double)struct confd_duration (xs:duration)u_int32_t (string enumerations)struct confd_gDay (xs:gDay)struct confd_gMonthDay (xs:gMonth)struct confd_gMonth (xs:gMonthDay)struct confd_gYear (xs:gYear)struct confd_gYearMonth (xs:gYearMonth)struct confd_identityref (identityref)int16_t (int16)int32_t (int32)int64_t (int64)int8_t (int8)struct in_addr in NBOstruct confd_ipv4_prefixstruct in6_addr in NBOstruct confd_ipv6_prefixconfd_list (leaf-list)end markerstruct confd_hkeypath*struct confd_snmp_oid*see cdb_get_values in confd_lib_cdb(3)struct confd_qname (xs:QName)NUL-terminated stringsnot yet usedstruct confd_time (xs:time)u_int16_t (uint16)u_int32_t (uint32)u_int64_t (uint64)u_int8_t (uint8)(union) - not used in APIstruct xml_tag), start of containeras C_XMLBEGIN, but for a deleted list instancestruct xml_tag), end of containerstruct xml_tagstruct xml_tagstruct xml_tag -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
static MaapiSchemas.CSShallowType
toEnum
(int shallowType) static MaapiSchemas.CSShallowType
Returns the enum constant of this class with the specified name.static MaapiSchemas.CSShallowType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
C_NOEXISTS
end marker -
C_XMLTAG
struct xml_tag -
C_SYMBOL
not yet used -
C_STR
NUL-terminated strings -
C_BUF
confd_buf_t (string ...) -
C_INT8
int8_t (int8) -
C_INT16
int16_t (int16) -
C_INT32
int32_t (int32) -
C_INT64
int64_t (int64) -
C_UINT8
u_int8_t (uint8) -
C_UINT16
u_int16_t (uint16) -
C_UINT32
u_int32_t (uint32) -
C_UINT64
u_int64_t (uint64) -
C_DOUBLE
double (xs:float),xs:double) -
C_IPV4
struct in_addr in NBO -
C_IPV6
struct in6_addr in NBO -
C_BOOL
int (boolean) -
C_QNAME
struct confd_qname (xs:QName) -
C_DATETIME
struct confd_datetime -
C_DATE
struct confd_date (xs:date) -
C_GYEARMONTH
struct confd_gYearMonth (xs:gYearMonth) -
C_GYEAR
struct confd_gYear (xs:gYear) -
C_TIME
struct confd_time (xs:time) -
C_GDAY
struct confd_gDay (xs:gDay) -
C_GMONTHDAY
struct confd_gMonth (xs:gMonthDay) -
C_GMONTH
struct confd_gMonthDay (xs:gMonth) -
C_DURATION
struct confd_duration (xs:duration) -
C_ENUM_HASH
u_int32_t (string enumerations) -
C_BIT32
u_int32_t (bits size 32) -
C_BIT64
u_int64_t (bits size 64) -
C_LIST
confd_list (leaf-list) -
C_XMLBEGIN
struct xml_tag), start of container -
C_XMLEND
struct xml_tag), end of container -
C_OBJECTREF
struct confd_hkeypath* -
C_UNION
(union) - not used in API -
C_PTR
see cdb_get_values in confd_lib_cdb(3) -
C_CDBBEGIN
as C_XMLBEGIN), with CDB instance index -
C_OID
struct confd_snmp_oid* -
C_BINARY
confd_buf_t (binary ...) -
C_IPV4PREFIX
struct confd_ipv4_prefix -
C_IPV6PREFIX
struct confd_ipv6_prefix -
C_DEFAULT
default value indicator -
C_DECIMAL64
struct confd_decimal64 (decimal64) -
C_IDENTITYREF
struct confd_identityref (identityref) -
C_XMLBEGINDEL
as C_XMLBEGIN, but for a deleted list instance -
C_XMLMOVEFIRST
struct xml_tag -
C_XMLMOVEAFTER
struct xml_tag
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()- Returns:
- returns the integer value of the enum.
-
toEnum
-