|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujorm.extensions.SuperAbstractUjo
org.ujorm.extensions.AbstractUjo
org.ujorm.orm.AbstractMetaModel
public abstract class AbstractMetaModel
Abstract Metamodel
| Constructor Summary | |
|---|---|
AbstractMetaModel()
|
|
| Method Summary | ||
|---|---|---|
|
get(Key<UJO,VALUE> property)
Getter based on one Key |
|
protected
|
changeDefault(UJO ujo,
Key<UJO,VALUE> property,
VALUE value)
Assign a 'valid value' over a default UJO property value only |
|
boolean |
checkReadOnly(boolean exception)
Test a read-only state |
|
protected boolean |
isFilled(CharSequence text)
Returns true, if the argument text is not null and not empty. |
|
protected boolean |
isFilled(Object value)
Returns true, if the argument text is not null and not empty. |
|
boolean |
readAuthorization(UjoAction action,
Key property,
Object value)
|
|
boolean |
readOnly()
Property values are locked to read-only. |
|
void |
setReadOnly(boolean recurse)
Set a read-only state. |
|
void |
writeValue(Key property,
Object value)
|
|
| Methods inherited from class org.ujorm.extensions.AbstractUjo |
|---|
newCamelFactory, newFactory, readValue |
| Methods inherited from class org.ujorm.extensions.SuperAbstractUjo |
|---|
clone, equals, init, init, readKeys, readProperties, readUjoManager, readValueString, toString, writeValueString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractMetaModel()
| Method Detail |
|---|
public boolean readOnly()
public void setReadOnly(boolean recurse)
public boolean checkReadOnly(boolean exception)
throws UnsupportedOperationException
UnsupportedOperationException
public void writeValue(Key property,
Object value)
writeValue in interface UjowriteValue in class AbstractUjo
protected <UJO extends Ujo,VALUE> void changeDefault(UJO ujo,
Key<UJO,VALUE> property,
VALUE value)
public boolean readAuthorization(UjoAction action,
Key property,
Object value)
readAuthorization in interface UjoreadAuthorization in class SuperAbstractUjoprotected boolean isFilled(CharSequence text)
protected boolean isFilled(Object value)
public <UJO extends AbstractMetaModel,VALUE> VALUE get(Key<UJO,VALUE> property)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||