public class DocItem extends org.sistema.persist.Persistent implements IDocItem
IItem
and a IDoc
.DocumentItem
IDoc
,
IItem
,
Serialized FormConstructor and Description |
---|
DocItem() |
Modifier and Type | Method and Description |
---|---|
IItem |
getChild()
Retrieves the item, child of the document.
|
java.lang.Integer |
getId() |
java.lang.Byte |
getIndex() |
java.lang.Byte |
getOrder() |
IDoc |
getParent()
Retrieves the document, parent of the item.
|
void |
setChild(IItem child)
Sets the item, child of the document.
|
void |
setId(java.lang.Integer id) |
void |
setOrder(java.lang.Byte order)
Sets the order of a given item inside the document.
|
void |
setParent(IDoc parent)
Sets the document, parent of the item.
|
java.lang.String |
toString() |
addAttribute, addAttribute, equals, getAttribute, getAttributeMaximumLength, getAttributeMinimumLength, getAttributeValue, getField, getFieldFlagValue, getFieldNames, getFields, getFieldsUnsavedElements, getFieldValue, getPrimaryKey, getValue, hasUnsavedElements, isAttributeEditable, isAttributeRequired, isAttributeVisible, isAttributeVisible, isDeletable, isDeleted, isEditable, isFieldModified, isFieldState, isModified, isModifiedBase, isNew, setAttributeValue, setDeletable, setDeleted, setFieldFlag, setFieldState, setFieldValue, setNew
public IItem getChild()
IDocItem
public java.lang.Integer getId()
getId
in interface org.sistema.persist.IPersistent
public IDoc getParent()
IDocItem
public void setChild(IItem child)
IDocItem
public void setId(java.lang.Integer id)
public void setOrder(java.lang.Byte order)
Useful for displaying and printing the list of items in a desired and consistent order.
public void setParent(IDoc parent)
IDocItem
public java.lang.String toString()
toString
in class java.lang.Object