DocRelation
instead.public class DocumentRelation extends org.sistema.persist.Persistent implements IDocumentRelation
Constructor and Description |
---|
DocumentRelation()
Deprecated.
|
DocumentRelation(IDocument s,
IDocument t,
IDocRelationType type)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getId()
Deprecated.
|
IDocument |
getSource()
Deprecated.
|
IDocument |
getTarget()
Deprecated.
|
IDocRelationType |
getType()
Deprecated.
|
void |
setSource(IDocument source)
Deprecated.
Sets the source document of the relationship.
|
void |
setTarget(IDocument target)
Deprecated.
Sets the target document of the relationship.
|
void |
setType(IDocRelationType type)
Deprecated.
Sets the type of relationship between the source and target documents.
|
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 DocumentRelation()
public DocumentRelation(IDocument s, IDocument t, IDocRelationType type)
s
- source document of the relationshipt
- target document of the relationshiptype
- type of relationshippublic java.lang.Integer getId()
getId
in interface org.sistema.persist.IPersistent
public IDocument getSource()
getSource
in interface IDocumentRelation
public IDocument getTarget()
getTarget
in interface IDocumentRelation
public IDocRelationType getType()
getType
in interface IDocumentRelation
public void setSource(IDocument source)
IDocumentRelation
setSource
in interface IDocumentRelation
source
- documentpublic void setTarget(IDocument target)
IDocumentRelation
setTarget
in interface IDocumentRelation
target
- Target documentpublic void setType(IDocRelationType type)
IDocumentRelation
setType
in interface IDocumentRelation
type
- Type of relationship