Package com.tailf.conf
Class ConfIdentityRef
Object
com.tailf.conf.ConfObject
com.tailf.conf.ConfValue
com.tailf.conf.ConfIdentityRef
- All Implemented Interfaces:
Serializable
,Cloneable
DATA_CONTAINER - Corresponds to the YANG identityRef type.
- See Also:
-
Field Summary
Fields inherited from class com.tailf.conf.ConfObject
J_BINARY, J_BIT32, J_BIT64, J_BITBIG, J_BOOL, J_BUF, J_CDBBEGIN, J_DATE, J_DATETIME, J_DECIMAL64, J_DEFAULT, J_DOUBLE, J_DQUAD, J_DURATION, J_ENUMERATION, J_HEXSTR, J_IDENTITYREF, J_INSTANCE_IDENTIFIER, J_INT16, J_INT32, J_INT64, J_INT8, J_IPV4, J_IPV4_AND_PLEN, J_IPV4PREFIX, J_IPV6, J_IPV6_AND_PLEN, J_IPV6PREFIX, J_LIST, J_NOEXISTS, J_OBJECTREF, J_OID, J_PTR, J_QNAME, J_STR, J_SYMBOL, J_TIME, J_UINT16, J_UINT32, J_UINT64, J_UINT8, J_UNION, J_XMLBEGIN, J_XMLBEGINDEL, J_XMLEND, J_XMLMOVEAFTER, J_XMLMOVEFIRST, J_XMLTAG
-
Constructor Summary
ConstructorDescriptionConfIdentityRef
(int ns, int tag) ConfIdentityRef
(ConfPath path, MountIdInterface mountIdGetter, String prefix, String tagname) ConfIdentityRef
(String tagname) ConfIdentityRef
(String nsURI, String tagname) -
Method Summary
Modifier and TypeMethodDescriptionencode()
encode value.boolean
Determine if two ConfValue are equal.int
getTag()
int
getUri()
int
hashCode()
static ConfIdentityRef
newInstance
(String prefix, String tagname, ArrayList<ConfNamespace> ns_list) Deprecated.void
setConfNamespace
(ConfNamespace ns_obj) toString()
Methods inherited from class com.tailf.conf.ConfValue
getStringByValue, getStringByValue, getValueByString, getValueByString
Methods inherited from class com.tailf.conf.ConfObject
clone, decode
-
Constructor Details
-
ConfIdentityRef
- Parameters:
nsURI
-tagname
-
-
ConfIdentityRef
public ConfIdentityRef(ConfPath path, MountIdInterface mountIdGetter, String prefix, String tagname) -
ConfIdentityRef
-
ConfIdentityRef
public ConfIdentityRef(int ns, int tag) - Parameters:
ns
- Namespace hashtag
- tagHash
-
ConfIdentityRef
- Throws:
ConfException
-
-
Method Details
-
getTagHash
public int getTagHash() -
getNSHash
public int getNSHash() -
getTag
-
getUri
-
getConfNamespace
-
setConfNamespace
-
equals
Description copied from class:ConfValue
Determine if two ConfValue are equal. In general, ConfObjects are equal if the components they consist of are equal. -
hashCode
public int hashCode() -
toString
-
encode
Description copied from class:ConfValue
encode value. -
newInstance
@Deprecated public static ConfIdentityRef newInstance(String prefix, String tagname, ArrayList<ConfNamespace> ns_list) Deprecated.This method has been deprecated since prefix will not always define a unique namespace. Use the constructorConfIdentityRef(ConfPath, MountIdInterface, String, String)
instead.
-