|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrcf.core.framework.component.ReflectedComponent.Default
public static class ReflectedComponent.Default
TODO: Javadoc
TODO: Unit tests, Code review, Javadoc review, Seal/Finalize TODO: equals, hashCode, toString
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface rcf.core.framework.component.ReflectedComponent |
|---|
ReflectedComponent.Default |
| Field Summary | |
|---|---|
protected rcf.core.util.collection.ImmutableCollection<Class> |
interfaces
TODO: Javadoc |
protected rcf.core.util.map.HashSetMap<ReflectedOperation.Default,String> |
operations
TODO: Javadoc |
protected rcf.core.util.map.HashSetMap<ReflectedProperty.Default,String> |
properties
TODO: Javadoc |
| Constructor Summary | |
|---|---|
ReflectedComponent.Default(rcf.core.util.collection.ImmutableCollection<Class> _interfaces)
TODO: Javadoc |
|
| Method Summary | |
|---|---|
DynamicComponent |
bind(Object o)
TODO: Javadoc Return a dynamic bound interface representing this reflected bindable bound to the specified object, assuming the object is an instance of the appropriate reflected component. |
ReflectedComponent |
component()
TODO: Javadoc |
rcf.core.util.collection.ImmutableCollection<Class> |
interfaces()
TODO: Javadoc The interfaces supported by the component. |
boolean |
isInstance(Object o)
TODO: Javadoc Determine if the specified object is an instance of the necessary component and as a result can be bound. |
rcf.core.util.map.single.ImmutableSMapCollection<? extends ReflectedOperation,String> |
operations()
TODO: Javadoc Could return a collection, if the operations supported by this component change over time. |
rcf.core.util.map.single.ImmutableSMapCollection<? extends ReflectedProperty,String> |
properties()
TODO: Javadoc |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final rcf.core.util.collection.ImmutableCollection<Class> interfaces
protected final rcf.core.util.map.HashSetMap<ReflectedOperation.Default,String> operations
protected final rcf.core.util.map.HashSetMap<ReflectedProperty.Default,String> properties
| Constructor Detail |
|---|
public ReflectedComponent.Default(rcf.core.util.collection.ImmutableCollection<Class> _interfaces)
_interfaces -
IllegalArgumentException - If the _interfaces is
null or ImmutableIterable.isEmpty(),
or if any of the interfaces aren't actually
components.| Method Detail |
|---|
public DynamicComponent bind(Object o)
ReflectedBindableReflectedComponent.isInstance(Object),
component().isInstance(o) must be true.
bind in interface ReflectedBindable<DynamicComponent>public ReflectedComponent component()
ReflectedBindable
component in interface ReflectedBindable<DynamicComponent>component in interface ReflectedComponentthisReflectedBindable.component()public rcf.core.util.collection.ImmutableCollection<Class> interfaces()
ReflectedComponent
interfaces in interface ReflectedComponentpublic boolean isInstance(Object o)
ReflectedComponentbound.
isInstance in interface ReflectedComponentpublic rcf.core.util.map.single.ImmutableSMapCollection<? extends ReflectedOperation,String> operations()
ReflectedComponent
operations in interface ReflectedComponentpublic rcf.core.util.map.single.ImmutableSMapCollection<? extends ReflectedProperty,String> properties()
ReflectedComponent
properties in interface ReflectedComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||