|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vhosting.netconf.frame.Identity
public class Identity
This class allows to implement objects that possess a specific identity within the Netconf system. An identity is characterized by its own name, namespace and its own unique name.
The shape of a unique name is: <namespace prefix> : <name> Identity example: Namespace = http://www.example.com/example Name = myexample Unique Name = ex:myexample Where 'ex' is the prefix of the 'http://www.example.com/example' namespace.An identity can be treated as a value within a Netconf structure such as Rpc. The value to assign to the element, in this case is given by the method getUniqueName();
getUniqueNane()
Field Summary | |
---|---|
protected java.lang.String |
name
The identity name. |
protected java.lang.String |
namespaceURI
The identity namespace URI. |
protected java.lang.String |
prefix
The identity prefix. |
Constructor Summary | |
---|---|
Identity(Capability cap,
java.lang.String name)
Create an identity for a specified capability. |
Method Summary | |
---|---|
java.lang.String |
getName()
Get the name of the identity. |
java.lang.String |
getNamespaceURI()
Get the namespace URI of the identity. |
java.lang.String |
getPrefix()
Get the namespace prefix of the identity. |
java.lang.String |
getUniqueNane()
Get the unique name of the identity. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String namespaceURI
protected java.lang.String prefix
protected java.lang.String name
Constructor Detail |
---|
public Identity(Capability cap, java.lang.String name)
cap
- The capability of this identity.name
- The name of the identity.Method Detail |
---|
public java.lang.String getUniqueNane()
public java.lang.String getName()
public java.lang.String getNamespaceURI()
public java.lang.String getPrefix()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |