|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.uddi.promoter.UddiEntityKeys
public class UddiEntityKeys
Container class for lists of keys for each of the UDDI entity types.
Field Summary |
---|
Constructor Summary | |
---|---|
UddiEntityKeys()
|
Method Summary | |
---|---|
java.util.List |
getBindings()
Returns the binding keys. |
java.util.List |
getBusinesses()
Returns the business keys. |
int |
getKeyCount()
Returns total number of keys in all collections. |
java.util.Properties |
getKeysAsProperties()
Creates a Properties with the required content for a keys file. |
java.util.List |
getServices()
Returns the service keys. |
java.util.List |
getTModels()
Returns the tModel keys. |
void |
setBindings(java.util.List bindings)
Sets the binding keys. |
void |
setBusinesses(java.util.List businesses)
Sets the business keys. |
void |
setServices(java.util.List services)
Sets the service keys. |
void |
setTModels(java.util.List tModels)
Sets the tModel keys. |
void |
writeKeysAsPropertiesFile(java.io.OutputStream out,
java.lang.String comments)
Writes a properties file to supplied OutputStream in required format
for a keys file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UddiEntityKeys()
Method Detail |
---|
public java.util.List getBindings()
public java.util.List getBusinesses()
public java.util.List getServices()
public java.util.List getTModels()
public void setBindings(java.util.List bindings)
bindings
- public void setBusinesses(java.util.List businesses)
businesses
- public void setServices(java.util.List services)
services
- public void setTModels(java.util.List tModels)
tModels
- public int getKeyCount()
public java.util.Properties getKeysAsProperties()
Properties
with the required content for a keys file.
public void writeKeysAsPropertiesFile(java.io.OutputStream out, java.lang.String comments) throws java.io.IOException
OutputStream
in required format
for a keys file.
Note that according to the JavaDocs for the store
method of Properties
,
"The key and value characters #, !, =, and : are written with a preceding slash
to ensure that they are properly loaded." As a result, the properties file generated by
this method will contain '\' before the ':' in the tModels section, because tModelKeys are prefixed
with 'UUID:'.
out
- comments
- - additional (optional) comments
java.io.IOException
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |