public abstract class AbstractTuttiBeanUIModel<E,B extends AbstractTuttiBeanUIModel<E,B>>
extends org.jdesktop.beans.AbstractSerializableBean
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected boolean |
modify |
static String |
PROPERTY_ID |
static String |
PROPERTY_MODIFY |
static String |
PROPERTY_VALID |
protected boolean |
valid |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTuttiBeanUIModel(Class<E> entityType,
org.nuiton.util.beans.Binder<E,B> fromBeanBinder,
org.nuiton.util.beans.Binder<B,E> toBeanBinder) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromBean(E bean) |
String |
getId() |
boolean |
isCreate() |
boolean |
isModify() |
boolean |
isValid() |
protected E |
newEntity() |
void |
setId(String id) |
void |
setModify(boolean modify) |
void |
setValid(boolean valid) |
E |
toBean() |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenerpublic static final String PROPERTY_ID
public static final String PROPERTY_MODIFY
public static final String PROPERTY_VALID
protected String id
protected boolean modify
protected boolean valid
public final void fromBean(E bean)
public final E toBean()
protected E newEntity()
public String getId()
public void setId(String id)
public boolean isModify()
public void setModify(boolean modify)
public boolean isValid()
public void setValid(boolean valid)
public boolean isCreate()
Copyright © 2012 Ifremer. All Rights Reserved.