|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.spicefactory.pimento.metamodel.impl.TypeImpl
org.spicefactory.pimento.metamodel.impl.ManagedTypeImpl
public class ManagedTypeImpl
Default implementation of the ManagedType interface.
| Constructor Summary | |
|---|---|
ManagedTypeImpl(Class<?> type,
List<ManagedProperty> properties)
Creates a new instance. |
|
| Method Summary | |
|---|---|
List<ManagedProperty> |
getProperties()
Returns all managed properties of this persistent class. |
ManagedProperty |
getProperty(String name)
Returns the managed property for the specified name or null if no such property exists. |
void |
writeExternal(DataOutput output)
Saves the content of this object to the DataOutput instance. |
| Methods inherited from class org.spicefactory.pimento.metamodel.impl.TypeImpl |
|---|
getJavaType, readExternal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.spicefactory.pimento.metamodel.Type |
|---|
getJavaType |
| Constructor Detail |
|---|
public ManagedTypeImpl(Class<?> type,
List<ManagedProperty> properties)
type - the Java typeproperties - the managed properties of this persistent type| Method Detail |
|---|
public List<ManagedProperty> getProperties()
ManagedType
getProperties in interface ManagedTypepublic ManagedProperty getProperty(String name)
ManagedType
getProperty in interface ManagedTypename - the name of the property
public void writeExternal(DataOutput output)
Externalizable
writeExternal in interface ExternalizablewriteExternal in class TypeImploutput - the output to write to
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||