|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.devaki.nextobjects.workspace.models.objects.BaseObject
Objects of the models.
Constructor Summary | |
BaseObject()
Construct a standard nextGraphicsObject |
|
BaseObject(BaseModel pModel)
Construct an object with a pre-defined model |
|
BaseObject(BaseObject pObject)
Construct a (next)Object by copying another nextGraphicsObject |
Method Summary | |
java.lang.String |
getCode()
Get the code |
java.util.Vector |
getColumns()
Get the columns of the object |
java.util.Vector |
getData()
Return the list of fields |
boolean |
getDataChanged()
Return if the data has changed or not |
java.lang.String |
getDescription()
Get the description |
CustomTreeNode |
getDynamicTreeNode()
Get the CustomTreeNode object associated |
BaseModel |
getMyModel()
Get the model |
java.lang.String |
getName()
Get the name |
java.lang.String |
getNotes()
Get notes for the object |
abstract ObjectView |
getObjectView()
Get the object view |
void |
resetModelStatus()
Reset the status of the model because it has been changed |
void |
setCode(java.lang.String pCode)
Changes the code |
void |
setColumns(java.util.Vector vector)
Set the columns of the object |
void |
setDataChanged(boolean pDataChanged)
Set if the data has changed or not |
void |
setDescription(java.lang.String pDescription)
Changes the description |
void |
setDynamicTreeNode(CustomTreeNode pNode)
Defines the CustomTreeNode associated to the current object |
void |
setMyModel(BaseModel pModel)
Changes the model |
void |
setName(java.lang.String pName)
Changes the name |
void |
setNotes(java.lang.String pNotes)
Set notes for the object |
java.lang.String |
toString()
Returns a String representation of the object Really usefull in the treeview ow/ would avoid. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BaseObject()
public BaseObject(BaseModel pModel)
pModel
- the context modelpublic BaseObject(BaseObject pObject)
pObject
- the object to cloneMethod Detail |
public abstract ObjectView getObjectView()
public final java.lang.String toString()
public final void setNotes(java.lang.String pNotes)
pNotes
- the notespublic final void setName(java.lang.String pName)
pName
- the namepublic final void setCode(java.lang.String pCode)
pCode
- the codepublic final void setDescription(java.lang.String pDescription)
pDescription
- the descriptionpublic final void setDataChanged(boolean pDataChanged)
pDataChanged
- is the data changedpublic final void setMyModel(BaseModel pModel)
pModel
- the context modelpublic final void setDynamicTreeNode(CustomTreeNode pNode)
pNode
- the nodepublic final java.lang.String getNotes()
public final java.lang.String getName()
public final java.lang.String getCode()
public final java.lang.String getDescription()
public final java.util.Vector getData()
public final boolean getDataChanged()
public final BaseModel getMyModel()
public final CustomTreeNode getDynamicTreeNode()
public final void resetModelStatus()
public final java.util.Vector getColumns()
public final void setColumns(java.util.Vector vector)
vector
- a set of columns
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |