|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Manages metadata extensions.
Method Summary | |
void |
addExtension(String key,
Object value)
Add a kodo vendor extension to this entity. |
void |
addExtension(String vendor,
String key,
Object value)
Add a vendor extension to this entity. |
void |
addExtensionKeys(Collection exts)
Add all the known extension keys to the specified collection; any implementation that utilized new extensions should override this method to include both the known extensions of its superclass as well as its own extension keys. |
boolean |
getBooleanExtension(String key)
Get the value as a boolean. |
boolean |
getBooleanExtension(String vendor,
String key)
Get the value as a boolean. |
double |
getDoubleExtension(String key)
Get the value as a double. |
double |
getDoubleExtension(String vendor,
String key)
Get the value as a double. |
Extensions |
getEmbeddedExtensions(String key,
boolean create)
Return the embedded extensions under the extension with the given key. |
Extensions |
getEmbeddedExtensions(String vendor,
String key,
boolean create)
Return the embedded extensions under the extension with the given key. |
Collection |
getExtensionComments(String vendor,
String key)
Retrieve the comment strings, if any, for the specified extension vendor/key pair. |
String[] |
getExtensionKeys()
Return all extension keys for vendor kodo . |
String[] |
getExtensionKeys(String vendor)
Return all extension keys for the given vendor. |
String[] |
getExtensionVendors()
Return all vendors who have extension keys at this level. |
int |
getIntExtension(String key)
Get the value as an int. |
int |
getIntExtension(String vendor,
String key)
Get the value as an int. |
Object |
getObjectExtension(String key)
Get the value of a kodo extension. |
Object |
getObjectExtension(String vendor,
String key)
Get the value of an extension. |
String |
getStringExtension(String key)
Get the value as a string. |
String |
getStringExtension(String vendor,
String key)
Get the value as a string. |
boolean |
hasExtension(String key)
Return true if the extension with the given key exists for vendor kodo . |
boolean |
hasExtension(String vendor,
String key)
Return true if the extension with the given key exists for the given vendor. |
boolean |
isEmpty()
Return true if there are no keys for any vendor. |
boolean |
removeEmbeddedExtensions(String key)
Remove the embedded extensions for the given key. |
boolean |
removeEmbeddedExtensions(String vendor,
String key)
Remove the embedded extensions for the given key. |
boolean |
removeExtension(String key)
Remove a kodo vendor extension to this entity. |
boolean |
removeExtension(String vendor,
String key)
Remove a vendor extension to this entity. |
Method Detail |
public boolean isEmpty()
public String[] getExtensionVendors()
public String[] getExtensionKeys()
kodo
.public String[] getExtensionKeys(String vendor)
public boolean hasExtension(String key)
kodo
.public boolean hasExtension(String vendor, String key)
public void addExtension(String key, Object value)
kodo
vendor extension to this entity.public void addExtension(String vendor, String key, Object value)
public boolean removeExtension(String key)
kodo
vendor extension to this entity.public boolean removeExtension(String vendor, String key)
public Object getObjectExtension(String key)
kodo
extension.public Object getObjectExtension(String vendor, String key)
public String getStringExtension(String key)
public String getStringExtension(String vendor, String key)
public int getIntExtension(String key)
public int getIntExtension(String vendor, String key)
public double getDoubleExtension(String key)
public double getDoubleExtension(String vendor, String key)
public boolean getBooleanExtension(String key)
public boolean getBooleanExtension(String vendor, String key)
public Extensions getEmbeddedExtensions(String key, boolean create)
create
parameter is true.public Extensions getEmbeddedExtensions(String vendor, String key, boolean create)
create
parameter is true.public boolean removeEmbeddedExtensions(String key)
public boolean removeEmbeddedExtensions(String vendor, String key)
public void addExtensionKeys(Collection exts)
public Collection getExtensionComments(String vendor, String key)
|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |