public class Relation extends Resource
Constructor and Description |
---|
Relation() |
Modifier and Type | Method and Description |
---|---|
Long |
getEndDate() |
NamedResourceReference |
getSource() |
Long |
getStartDate() |
NamedResourceReference |
getTarget() |
TypeReference |
getType() |
void |
setEndDate(Long endDate)
Sets the End Date
|
void |
setSource(NamedResourceReference source)
Sets the source Asset
|
void |
setStartDate(Long startDate)
Sets the Start Date
|
void |
setTarget(NamedResourceReference target)
Sets the target Asset
|
void |
setType(TypeReference type)
Sets the Relation Type
|
getCreatedBy, getCreationDate, getId, getLastModificationDate, getLastModifiedBy, setCreatedBy, setCreationDate, setId, setLastModificationDate, setLastModifiedBy
public TypeReference getType()
TypeReference
type object that represents the
Relation Typepublic void setType(TypeReference type)
type
- the RelationTypeReference
type object that represents
the Relation Typepublic NamedResourceReference getSource()
NamedResourceReference
type object that represents
the source Assetpublic void setSource(NamedResourceReference source)
source
- the NamedResourceReference
type object that represents
the source Assetpublic NamedResourceReference getTarget()
NamedResourceReference
type object that represents
the target Assetpublic void setTarget(NamedResourceReference target)
target
- the NamedResourceReference
type object that represents
the source Assetpublic Long getStartDate()
public void setStartDate(Long startDate)
startDate
- the date on which this relation becomes validpublic Long getEndDate()
public void setEndDate(Long endDate)
endDate
- the date on which this relation becomes invalidCopyright © 2010–2019. All rights reserved.