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 ConstantsEnum ConstantDescription(yang:object-identifier) confd_buf_t (binary ...)uint32_t (bits size 32)uint64_t (bits size 64)(inet:ipv6-address) int (boolean)confd_buf_t (string ...)as C_XMLBEGIN), with CDB instance index(yang:date-and-time) struct confd_date (xs:date)struct confd_datetimestruct confd_decimal64 (decimal64)(inet:ipv6-prefix) default value indicatordouble (xs:float),xs:double)struct confd_duration (xs:duration)empty typeuint32_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_prefix(inet:ipv4-address) struct in6_addr in NBO(inet:ipv4-prefix) struct 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)uint16_t (uint16)uint32_t (uint32)uint64_t (uint64)uint8_t (uint8)(instance-identifier) (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
uint8_t (uint8) -
C_UINT16
uint16_t (uint16) -
C_UINT32
uint32_t (uint32) -
C_UINT64
uint64_t (uint64) -
C_DOUBLE
double (xs:float),xs:double) -
C_IPV4
struct in_addr in NBO -
C_IPV6
(inet:ipv4-address) struct in6_addr in NBO -
C_BOOL
(inet:ipv6-address) int (boolean) -
C_QNAME
struct confd_qname (xs:QName) -
C_DATETIME
struct confd_datetime -
C_DATE
(yang:date-and-time) 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
uint32_t (string enumerations) -
C_BIT32
uint32_t (bits size 32) -
C_BIT64
uint64_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
(instance-identifier) (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
(yang:object-identifier) confd_buf_t (binary ...) -
C_IPV4PREFIX
struct confd_ipv4_prefix -
C_IPV6PREFIX
(inet:ipv4-prefix) struct confd_ipv6_prefix -
C_DEFAULT
(inet:ipv6-prefix) 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 -
C_EMPTY
empty type
-
-
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
-