|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.runtime.model.ComponentName
public class ComponentName
A component name.
Component names are strings of the form type:name
The type part is optional - when missing the type is assumed to be "service".
Example of valid component names:
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_TYPE
|
Constructor Summary | |
---|---|
ComponentName(java.lang.String rawName)
Constructs a component name from its string representation. |
|
ComponentName(java.lang.String type,
java.lang.String name)
Constructs a component name from its two parts: type and name. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
Gets the name part of the component name. |
java.lang.String |
getRawName()
Gets the qualified component name. |
java.lang.String |
getType()
Gets the type part of the component name. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_TYPE
Constructor Detail |
---|
public ComponentName(java.lang.String rawName)
rawName
- the string representation of this namepublic ComponentName(java.lang.String type, java.lang.String name)
type
- the type part of the component namename
- the name part of the component nameMethod Detail |
---|
public final java.lang.String getType()
public final java.lang.String getName()
public final java.lang.String getRawName()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |