|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.entityfs.cap.metadata.util.ECMetadataUtil
public final class ECMetadataUtil
This utility class contains static methods for working with entities that
support the ECMetadata
capability.
The methods in this class will use the locking strategy for utility classes
described in EntityLock
.
ECNamedMetadataUtil
Method Summary | |
---|---|
static ECMetadata |
getCapability(EntityView ev)
Get the ECMetadata capability for an entity. |
static boolean |
supportsMetadata(EntityView ev)
Check if the entity supports the ECMetadata capability. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ECMetadata getCapability(EntityView ev) throws UnsupportedCapabilityException
ECMetadata
capability for an entity.
ev
- The entity to get the capability for.
UnsupportedCapabilityException
- If the entity does not support the
capability.public static boolean supportsMetadata(EntityView ev)
ECMetadata
capability.
ev
- The entity to investigate.
true
if the entity supports the capability, false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |