|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.dev.vcc.api.profiles.BasicProfile
public final class BasicProfile
The most basic profile.
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.util.Set<java.lang.Class<? extends Command>> |
getCommands(java.lang.Class<? extends ManagedObject> managedObjectClass)
Returns the types of Command that are supported against a specific type of
ManagedObject. |
static BasicProfile |
getInstance()
|
java.util.Set<java.lang.Class<? extends ManagedObject>> |
getObjectClasses()
Returns the types of ManagedObject that are available. |
int |
hashCode()
|
boolean |
supportedBy(CapabilityProfile that)
Returns true if this CapabilityProfile is supported by the
supplied CapabilityProfile. |
boolean |
supports(CapabilityProfile that)
Returns true if this CapabilityProfile supports a superset of the
supplied CapabilityProfile. |
java.lang.String |
toString()
|
protected static java.util.Map.Entry<java.lang.Class<? extends ManagedObject>,java.util.Set<java.lang.Class<? extends Command>>> |
with(java.lang.Class<? extends ManagedObject> object,
java.lang.Class<? extends Command>... commands)
Helper method. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static BasicProfile getInstance()
protected static java.util.Map.Entry<java.lang.Class<? extends ManagedObject>,java.util.Set<java.lang.Class<? extends Command>>> with(java.lang.Class<? extends ManagedObject> object,
java.lang.Class<? extends Command>... commands)
object - The type of ManagedObjectcommands - The types of Commands supported on the
ManagedObject.
Map.Entry for use in the constructor.public final java.util.Set<java.lang.Class<? extends Command>> getCommands(java.lang.Class<? extends ManagedObject> managedObjectClass)
Command that are supported against a specific type of
ManagedObject.
getCommands in interface CapabilityProfilemanagedObjectClass - The type of ManagedObject.
Command that are supported on the
ManagedObjectpublic final java.util.Set<java.lang.Class<? extends ManagedObject>> getObjectClasses()
ManagedObject that are available.
getObjectClasses in interface CapabilityProfileManagedObject that are available.public final boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic final boolean supportedBy(CapabilityProfile that)
true if this CapabilityProfile is supported by the
supplied CapabilityProfile.
that - The CapabilityProfile which this may be a subset of.
true if this CapabilityProfile is supported by the
supplied CapabilityProfile.public final boolean supports(CapabilityProfile that)
true if this CapabilityProfile supports a superset of the
supplied CapabilityProfile.
supports in interface CapabilityProfilethat - The CapabilityProfile which might be a subset of this.
true if this CapabilityProfile supports a superset of the
supplied CapabilityProfile.public final int hashCode()
hashCode in class java.lang.Objectpublic final java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||