|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.structconf.properties.ServiceOrResourceEntryKey
A key class that can be used to uniquely identify a service or resource for which many implementations may be specified in a .properties "service" file.
This will be used during the conversion of .properties to .xconf files to eliminate some of the redundancy found in the .properties files and coalesc the various optional resource or service entries under a common root element in each .xconf file.
Field Summary | |
private String |
contextName_
|
private String |
entryType_
|
private String |
serviceName_
|
Constructor Summary | |
(package private) |
ServiceOrResourceEntryKey(StringTokenizer st)
Constructor to be used only by PropertiesToXconf. |
Method Summary | |
Element |
createElement(Document doc)
Create an element for this key using the supplied document as a DOM node factory. |
boolean |
equals(Object o)
Equals method for value-wise comparisons. |
String |
getContextName()
The context name for this service/resource. |
String |
getEntryType()
Returns the .properties string used to distinguish between services and resources. |
String |
getServiceName()
The service/resource name (if a service this will be a class or interface name). |
int |
hashCode()
Hash code for value-wise comparisons. |
boolean |
isResourceEntry()
Whether or not this entry key corresponds to a resource. |
boolean |
isServiceEntry()
Whether or not this entry key corresponds to a service. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private String entryType_
private String contextName_
private String serviceName_
Constructor Detail |
ServiceOrResourceEntryKey(StringTokenizer st)
PropertiesToXconf
Method Detail |
public boolean isServiceEntry()
public boolean isResourceEntry()
public String getEntryType()
"svc"
or "rsc"
public String getContextName()
public String getServiceName()
public int hashCode()
public String toString()
public boolean equals(Object o)
public Element createElement(Document doc)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |