public class UnitAssignment extends Object
Constructor and Description |
---|
UnitAssignment()
Constructor
|
Modifier and Type | Method and Description |
---|---|
Unit |
getAssignedUnit()
Gives the assigned unit
|
Timestamp |
getAssignmentDate()
Gives the assignment date
|
UnitAssignmentType |
getAssignmentType()
Gives the assignment type
|
Unit |
getAssignorUnit()
Gives the assignor unit
|
int |
getId()
Gives the id
|
int |
getIdAssignedUnit()
Gives the assigned unit id
|
int |
getIdAssignorUnit()
Gives the assignor unit id
|
int |
getIdResource()
Gives the resource id
|
String |
getResourceType()
Gives the resource type
|
boolean |
isActive()
Tests if the assignment is active or not
|
void |
setActive(boolean bIsActive)
Sets if the assignment is active or not
|
void |
setAssignedUnit(Unit assignedUnit)
Sets the assigned unit
|
void |
setAssignmentDate(Timestamp dateAssignmentDate)
Sets the assignment date
|
void |
setAssignmentType(UnitAssignmentType assignmentType)
Sets the assignment type
|
void |
setAssignorUnit(Unit assignorUnit)
Sets the assignor unit
|
void |
setId(int nId)
Sets the id
|
void |
setIdAssignedUnit(int nIdAssignedUnit)
Sets the assigned unit id
|
void |
setIdAssignorUnit(int nIdAssignorUnit)
Sets the assignor unit id
|
void |
setIdResource(int nIdResource)
Sets the resource id
|
void |
setResourceType(String strResourceType)
Sets the resource type
|
public int getId()
public void setId(int nId)
nId
- The id to setpublic int getIdResource()
public void setIdResource(int nIdResource)
nIdResource
- The resource id to setpublic String getResourceType()
public void setResourceType(String strResourceType)
strResourceType
- The resource type to setpublic Unit getAssignedUnit()
public void setAssignedUnit(Unit assignedUnit)
assignedUnit
- The assigned unit to setpublic Unit getAssignorUnit()
public void setAssignorUnit(Unit assignorUnit)
assignorUnit
- The assignor unit to setpublic Timestamp getAssignmentDate()
public void setAssignmentDate(Timestamp dateAssignmentDate)
dateAssignmentDate
- The assignment date to setpublic UnitAssignmentType getAssignmentType()
public void setAssignmentType(UnitAssignmentType assignmentType)
assignmentType
- the assignment type to setpublic boolean isActive()
true
if the assignment is active, false
otherwisepublic void setActive(boolean bIsActive)
bIsActive
- true
if the assignment is active, false
otherwisepublic int getIdAssignedUnit()
public void setIdAssignedUnit(int nIdAssignedUnit)
nIdAssignedUnit
- The assigned unit idpublic int getIdAssignorUnit()
public void setIdAssignorUnit(int nIdAssignorUnit)
nIdAssignorUnit
- The assignor unit idCopyright © 2019 City of Paris. All rights reserved.