IDoc
instead.public interface IDocument
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. |
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 |
setDate(java.util.Date date)
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 number)
Deprecated.
Sets the document number
|
void |
setStatus(java.lang.Integer status)
Deprecated.
Sets the status of the document.
|
void |
setTime(java.util.Date date)
Deprecated.
|
void |
setType(IDocumentType type)
Deprecated.
|
IDocumentRelation add(IDocumentRelation relation)
relation
- relationship containing the child document.relation
.IDocumentRelation addSource(IDocument source, IDocRelationType type)
this
document as the target of the relationship.source
- A source document related to this document.type
- The type of relationshipIDocumentRelation addTarget(IDocument target, IDocRelationType type)
this
document as the source of the relationship.target
- Target document related to this document.type
- The type of relationshipjava.util.Date getDate()
org.sistema.cs.agenda.IAgendaEntry getEntry()
java.lang.Integer getId()
java.lang.String getNumber()
java.util.Map<java.lang.Integer,IDocumentRelation> getRelatedDocs()
this
document.java.lang.Integer getStatus()
java.util.Date getTime()
IDocumentType getType()
boolean isStatus(int flag)
flag
- void setDate(java.util.Date date)
date
- void setEntry(org.sistema.cs.agenda.IAgendaEntry entry)
entry
- Agenda entry to which the document belongs to.void setId(java.lang.Integer id)
id
- New unique id of the document.void setNumber(java.lang.String number)
number
- Number of the documentvoid setStatus(java.lang.Integer status)
status
- Status of the document.void setTime(java.util.Date date)
void setType(IDocumentType type)