public abstract class AbstractMetaModel extends AbstractUjo implements UjoLockable
| Constructor and Description |
|---|
AbstractMetaModel() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearReadOnly(OrmHandler handler)
Unlock the meta-model. the method is for internal use only.
|
<UJO extends AbstractMetaModel,VALUE> |
get(Key<UJO,VALUE> key)
Getter based on one Key
|
protected <UJO extends Ujo,VALUE> |
changeDefault(UJO ujo,
Key<UJO,VALUE> key,
VALUE value)
Assign a 'valid value' over a default UJO key value only
|
boolean |
checkReadOnly(boolean exception)
Test a read-only state
|
void |
lock()
Lock the class and all other relations
|
boolean |
readAuthorization(UjoAction action,
Key key,
Object value) |
boolean |
readOnly()
Property values are locked to read-only.
|
void |
setReadOnly(boolean recurse)
Set a read-only state.
|
void |
writeValue(Key<?,?> key,
Object value)
Write a value if the operation is enabled
|
newCamelFactory, newFactory, newSnakeCaseFactory, readValueclone, equals, init, init, readKeys, readUjoManager, readValueString, toString, writeValueStringpublic boolean readOnly()
readOnly in interface UjoLockableprotected void clearReadOnly(OrmHandler handler)
MoreParams.ENABLE_TO_UNLOCK_IMMUTABLE_METAMODEL.public void lock()
lock in interface UjoLockablepublic void setReadOnly(boolean recurse)
public boolean checkReadOnly(boolean exception)
throws UnsupportedOperationException
UnsupportedOperationExceptionpublic void writeValue(Key<?,?> key, Object value) throws UnsupportedOperationException
writeValue in interface UjoLockablewriteValue in interface UjowriteValue in class AbstractUjoUnsupportedOperationExceptionprotected <UJO extends Ujo,VALUE> void changeDefault(UJO ujo, Key<UJO,VALUE> key, VALUE value)
public boolean readAuthorization(UjoAction action, Key key, Object value)
readAuthorization in interface UjoreadAuthorization in class SuperAbstractUjopublic <UJO extends AbstractMetaModel,VALUE> VALUE get(Key<UJO,VALUE> key)
Copyright 2013, Pavel Ponec