|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.spicefactory.pimento.metamodel.impl.ManagedPropertyImpl
public abstract class ManagedPropertyImpl
Default implementation of the Embeddable interface.
| Constructor Summary | |
|---|---|
ManagedPropertyImpl(PropertyHandler handler,
Property property,
int index)
Creates a new instance. |
|
| Method Summary | |
|---|---|
PropertyHandler |
getHandler()
The handler of the property, responsible for converting values to and from snapshots. |
int |
getIndex()
Returns the index position of the property. |
Property |
getProperty()
Returns the reflection type of the managed property. |
boolean |
isReadOnly()
Indicates whether this property is read-only from the perspective of the client. |
boolean |
isRefreshable()
Indicates whether this property is refreshable from the perspective of the client. |
void |
readExternal(DataInput input)
Restores the content of this object from the DataInput instance. |
void |
writeExternal(DataOutput output)
Saves the content of this object to the DataOutput instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ManagedPropertyImpl(PropertyHandler handler,
Property property,
int index)
handler - the handler responsible for encoding and decoding snapshot valuesproperty - the reflection propertyindex - the index position of this property in the managed entity| Method Detail |
|---|
public int getIndex()
ManagedProperty
getIndex in interface ManagedPropertypublic PropertyHandler getHandler()
ManagedProperty
getHandler in interface ManagedPropertypublic Property getProperty()
ManagedProperty
getProperty in interface ManagedPropertypublic boolean isRefreshable()
ManagedProperty
isRefreshable in interface ManagedPropertypublic boolean isReadOnly()
ManagedProperty
isReadOnly in interface ManagedPropertypublic void readExternal(DataInput input)
Externalizable
readExternal in interface Externalizableinput - the AMF3 data to read frompublic void writeExternal(DataOutput output)
Externalizable
writeExternal in interface Externalizableoutput - the output to write to
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||