Doc
instead.public class Document extends org.sistema.persist.Persistent implements IDocument
Constructor and Description |
---|
Document()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
IDocumentRelation |
add(IDocumentRelation relation)
Deprecated.
Adds a document-relationship in which this document
is either source or target.
|
IDocumentRelation |
addSource(IDocument source,
IDocRelationType type)
Deprecated.
Adds a related document as the source of the relationship
with
this document as the target of the relationship. |
IDocumentRelation |
addTarget(IDocument target,
IDocRelationType type)
Deprecated.
Adds a related document as the target of the relationship
with
this document as the source of the relationship. |
org.sistema.jcs.atlas.ICurrency |
getCurrency()
Deprecated.
|
java.util.Date |
getDate()
Deprecated.
|
org.sistema.cs.agenda.IAgendaEntry |
getEntry()
Deprecated.
|
java.lang.Integer |
getId()
Deprecated.
|
java.lang.String |
getNumber()
Deprecated.
|
java.util.Map<java.lang.Integer,IDocumentRelation> |
getRelatedDocs()
Deprecated.
|
java.lang.Integer |
getStatus()
Deprecated.
|
java.util.Date |
getTime()
Deprecated.
|
IDocumentType |
getType()
Deprecated.
|
boolean |
isStatus(int flag)
Deprecated.
|
void |
setCurrency(org.sistema.jcs.atlas.ICurrency currency)
Deprecated.
|
void |
setDate(java.util.Date d)
Deprecated.
|
void |
setEntry(org.sistema.cs.agenda.IAgendaEntry entry)
Deprecated.
Sets the agenda entry (customer, supplier, etc.) to which the document belongs to.
|
void |
setId(java.lang.Integer id)
Deprecated.
Sets the unique identifier of the document.
|
void |
setNumber(java.lang.String n)
Deprecated.
Sets the document number
|
void |
setStatus(java.lang.Integer status)
Deprecated.
Sets the status of the document.
|
void |
setTime(java.util.Date t)
Deprecated.
|
void |
setType(IDocumentType type)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
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 IDocumentRelation add(IDocumentRelation relation)
IDocument
public IDocumentRelation addSource(IDocument source, IDocRelationType type)
IDocument
this
document as the target of the relationship.public IDocumentRelation addTarget(IDocument target, IDocRelationType type)
IDocument
this
document as the source of the relationship.public org.sistema.jcs.atlas.ICurrency getCurrency()
public java.util.Date getDate()
public java.lang.Integer getId()
public org.sistema.cs.agenda.IAgendaEntry getEntry()
public java.lang.String getNumber()
public java.util.Map<java.lang.Integer,IDocumentRelation> getRelatedDocs()
getRelatedDocs
in interface IDocument
this
document.public java.lang.Integer getStatus()
public java.util.Date getTime()
public IDocumentType getType()
public boolean isStatus(int flag)
public void setCurrency(org.sistema.jcs.atlas.ICurrency currency)
currency
- public void setEntry(org.sistema.cs.agenda.IAgendaEntry entry)
IDocument
public void setId(java.lang.Integer id)
IDocument
public void setDate(java.util.Date d)
public void setNumber(java.lang.String n)
IDocument
public void setTime(java.util.Date t)
public void setStatus(java.lang.Integer status)
IDocument
public void setType(IDocumentType type)
public java.lang.String toString()
toString
in class java.lang.Object