|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.profileservice.spi.ProfileKey
public class ProfileKey
The key for a Profile. It consists of the domain, server and name.
Field Summary | |
---|---|
static String |
DEFAULT
The DEFAULT value for domain, server, name |
Constructor Summary | |
---|---|
ProfileKey(String name)
Calls this this(DEFAULT, DEFAULT, name) |
|
ProfileKey(String domain,
String server,
String name)
Build a profile key from the domain, server and name. |
Method Summary | |
---|---|
int |
compareTo(Object o)
Compare based on domain, then server and finally name. |
boolean |
equals(Object o)
|
String |
getDomain()
|
String |
getName()
|
String |
getServer()
|
int |
hashCode()
|
boolean |
isDefaultKey()
Is this a default key. |
void |
setDomain(String domain)
|
void |
setName(String name)
|
void |
setServer(String server)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT
Constructor Detail |
---|
public ProfileKey(String name)
name
- - the profile namepublic ProfileKey(String domain, String server, String name)
domain
- - the admin domainserver
- - the server instance namename
- - the profile nameMethod Detail |
---|
public String getName()
public void setName(String name)
public String getDomain()
public void setDomain(String domain)
public String getServer()
public void setServer(String server)
public boolean isDefaultKey()
DEFAULT
public int compareTo(Object o)
compareTo
in interface Comparable
o
- - the ProfileKey instance to compare to
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |