public class EntityCapabilities extends Object implements Cacheable, Externalizable
| Constructor and Description |
|---|
EntityCapabilities() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsFeature(String feature)
Determines whether or not a given feature is included in these entity
capabilities.
|
boolean |
containsIdentity(String category,
String type)
Determines whether or not a given identity is included in these entity
capabilities.
|
int |
getCachedSize()
Returns the approximate size of the Object in bytes.
|
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public boolean containsIdentity(String category, String type)
category - the category of the identitytype - the type of the identitypublic boolean containsFeature(String feature)
feature - the featurepublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic int getCachedSize()
throws CannotCalculateSizeException
CacheablegetCachedSize in interface CacheableCannotCalculateSizeExceptionCopyright © 2003-2008 Jive Software.