Package mc.core.model.project
Class ProjectTaskResource
java.lang.Object
mc.core.model.project.ProjectTaskResource
- All Implemented Interfaces:
Serializable,IBaseEntity,ICoreEntity,IProjectResource
link entity to create m:n assignment from task to project resource, optionally storing additional information.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptiondefault constructorProjectTaskResource(ProjectTask projectTask, ProjectResource projectResource) constructor with mandatory members -
Method Summary
Modifier and TypeMethodDescriptionbooleanforIProjectResourcecontract.forIProjectResourcecontract.longgetId()forIProjectResourcecontract.forIProjectResourcecontract.inthashCode()booleanisActive()forIProjectResourcecontract.voidsetId(long id) voidsetProjectResource(ProjectResource projectResource) voidsetProjectTask(ProjectTask projectTask) toString()
-
Constructor Details
-
ProjectTaskResource
public ProjectTaskResource()default constructor -
ProjectTaskResource
constructor with mandatory members
-
-
Method Details
-
getId
public long getId()- Specified by:
getIdin interfaceIBaseEntity
-
setId
public void setId(long id) - Specified by:
setIdin interfaceIBaseEntity
-
getProjectTask
-
setProjectTask
-
getProjectResource
-
setProjectResource
-
getEntity
forIProjectResourcecontract. delegate to project resource- Specified by:
getEntityin interfaceIProjectResource- Returns:
- entity, never null
-
getEntityClass
forIProjectResourcecontract. delegate to project resource- Specified by:
getEntityClassin interfaceIProjectResource- Returns:
- entityClass of entity, never null
-
getProject
forIProjectResourcecontract. delegate to project resource- Specified by:
getProjectin interfaceIProjectResource- Returns:
- project, never null
-
isActive
public boolean isActive()forIProjectResourcecontract. delegate to project resource- Specified by:
isActivein interfaceIProjectResource- Returns:
- active flag
-
getProjectTasks
forIProjectResourcecontract.- Specified by:
getProjectTasksin interfaceIProjectResource- Returns:
- project task list, may be empty if project resource is not a task resource
-
equals
-
hashCode
public int hashCode() -
toString
-