|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
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 String |
DEFAULT_TYPE
|
Constructor Summary | |
---|---|
ComponentName(String rawName)
Constructs a component name from its string representation. |
|
ComponentName(String type,
String name)
Constructs a component name from its two parts: type and name. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getName()
Gets the name part of the component name. |
String |
getRawName()
Gets the qualified component name. |
String |
getType()
Gets the type part of the component name. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_TYPE
Constructor Detail |
---|
public ComponentName(String rawName)
rawName
- the string representation of this namepublic ComponentName(String type, String name)
type
- the type part of the component namename
- the name part of the component nameMethod Detail |
---|
public final String getType()
public final String getName()
public final String getRawName()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |