|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.uddi.promoter.UddiEntityKeys
Container class for lists of keys for each of the UDDI entity types
Field Summary | |
---|---|
static java.lang.String |
java_copyright
|
Fields inherited from interface com.ibm.uddi.promoter.CommandLineConstants |
---|
ARG_BINDING, ARG_BUSINESS, ARG_DEFINITION_FILE, ARG_DELETE, ARG_EXPORT, ARG_IMPORT, ARG_IMPORT_REFERENCED_ENTITIES, ARG_INPUT_KEYFILE, ARG_INPUT_KEYFILE_OLD, ARG_OVERWRITE, ARG_OVERWRITE_OLD, ARG_PROMOTE, ARG_PROPERTIES_FILE, ARG_SERVICE, ARG_TMODEL, ARG_VERBOSE, ARG_VERBOSE_OLD, USAGE |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String java_copyright
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) commentsjava.io.IOException
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |