|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.WTObject
wt.projmgmt.admin.Project2
public class Project2
Project2 represents a"temporary endeavor undertaken to create
a unique product or service." As such it has start and end dates.
Project2 can also be thought as a container of objects (for example, documents and parts) and processes (such as lifecycles and workflows). The objects and processes are aggregated indirectly, through the domains that are associated to the project.
This class serves also to model quasi-project objects such as organizations and programs.
Use the newProject2 static factory method(s), not the Project2
constructor, to construct instances of this class. Instances must be
constructed using the static factory(s), in order to ensure proper initialization
of the instance.
Supported API: true
Extendable: false
| Field Summary | |
|---|---|
static String |
BUDGET
Label for the attribute; Total amount alloted for the execution of the project. |
static String |
BUSINESS_LOCATION
Label for the attribute; Possible sites the project may be associated with. |
static String |
BUSINESS_UNIT
Label for the attribute; Organizational entity the project is associated with. |
static String |
CATEGORY
Label for the attribute; the type or category of the project. |
static String |
CONTAINER_TEMPLATE
Label for the attribute. |
static String |
HEALTH_STATUS
Label for the attribute; the project health status. |
static String |
PHASE
Label for the attribute; the phase of the project object. |
static String |
PROJECT_NUMBER
Label for the attribute; Identification of the project that is menaingful within the scope of an organization. |
static String |
SCOPE
Label for the attribute; description of the project scope Supported API: true |
| Fields inherited from interface wt.inf.team.ContainerTeamManaged |
|---|
CTM_STATE, INVITATION_MSG |
| Fields inherited from interface wt.inf.container.WTContainer |
|---|
CONTAINER_TEMPLATE_REFERENCE, CREATOR, DESCRIPTION, NAME, OWNER, SHARING_ENABLED |
| Fields inherited from interface wt.org.OrganizationOwnedImpl |
|---|
ORGANIZATION_REFERENCE |
| Fields inherited from interface wt.org.OrganizationOwned |
|---|
ORGANIZATION, ORGANIZATION_CODING_SYSTEM, ORGANIZATION_NAME, ORGANIZATION_UNIQUE_IDENTIFIER |
| Method Summary | |
|---|---|
Currency |
getBudget()
Gets the value of the attribute: BUDGET. |
String |
getBusinessLocation()
Gets the value of the attribute: BUSINESS_LOCATION. |
String |
getBusinessUnit()
Gets the value of the attribute: BUSINESS_UNIT. |
ProjectCategory |
getCategory()
Gets the value of the attribute: CATEGORY. |
WTContainerTemplate |
getContainerTemplate()
Gets the object for the association that plays role: CONTAINER_TEMPLATE. |
wt.inf.container.WTContainerTemplateRef |
getContainerTemplateReference()
Gets the value of the attribute: CONTAINER_TEMPLATE_REFERENCE. |
WTPrincipal |
getCreator()
Gets the value of the attribute: CREATOR. |
ContainerTeamManagedState |
getCtmState()
Gets the value of the attribute: CTM_STATE. |
String |
getDescription()
Gets the value of the attribute: DESCRIPTION. |
ProjectHealthStatus |
getHealthStatus()
Gets the value of the attribute: HEALTH_STATUS. |
IdentificationObject |
getIdentificationObject()
Constructs and returns an identification object. |
String |
getInvitationMsg()
Gets the value of the attribute: INVITATION_MSG. |
String |
getName()
Gets the value of the attribute: NAME. |
WTOrganization |
getOrganization()
Gets the value of the attribute: ORGANIZATION. |
String |
getOrganizationCodingSystem()
Gets the value of the attribute: ORGANIZATION_CODING_SYSTEM. |
String |
getOrganizationName()
Gets the value of the attribute: ORGANIZATION_NAME. |
WTPrincipalReference |
getOrganizationReference()
Gets the value of the attribute: ORGANIZATION_REFERENCE. |
String |
getOrganizationUniqueIdentifier()
Gets the value of the attribute: ORGANIZATION_UNIQUE_IDENTIFIER. |
WTPrincipal |
getOwner()
Gets the value of the attribute: OWNER. |
ProjectPhase |
getPhase()
Gets the value of the attribute: PHASE. |
String |
getProjectNumber()
Gets the value of the attribute: PROJECT_NUMBER. |
ProjectPlan |
getProjectPlan()
Return the ProjectPlan that is associated
with this Project2 or null
if none exists. |
String |
getScope()
Gets the value of the attribute: SCOPE. |
boolean |
isProgram()
Supported API: true |
static boolean |
isProgram(WTReference ref)
Supported API: true |
boolean |
isSharingEnabled()
Gets the value of the attribute: SHARING_ENABLED. |
void |
setBudget(Currency a_Budget)
Sets the value of the attribute: BUDGET. |
void |
setBusinessLocation(String a_BusinessLocation)
Sets the value of the attribute: BUSINESS_LOCATION. |
void |
setBusinessUnit(String a_BusinessUnit)
Sets the value of the attribute: BUSINESS_UNIT. |
void |
setCategory(ProjectCategory a_Category)
Sets the value of the attribute: CATEGORY. |
void |
setContainerTemplate(WTContainerTemplate a_ContainerTemplate)
Sets the object for the association that plays role: CONTAINER_TEMPLATE. |
void |
setContainerTemplateReference(wt.inf.container.WTContainerTemplateRef a_ContainerTemplateReference)
Sets the value of the attribute: CONTAINER_TEMPLATE_REFERENCE. |
void |
setCreator(WTPrincipal a_Creator)
Sets the value of the attribute: CREATOR. |
void |
setDescription(String a_Description)
Sets the value of the attribute: DESCRIPTION. |
void |
setHealthStatus(ProjectHealthStatus a_HealthStatus)
Sets the value of the attribute: HEALTH_STATUS. |
void |
setInvitationMsg(String a_InvitationMsg)
Sets the value of the attribute: INVITATION_MSG. |
void |
setName(String a_Name)
Sets the value of the attribute: NAME. |
void |
setOrganization(WTOrganization a_Organization)
Sets the value of the attribute: ORGANIZATION. |
void |
setOrganizationReference(WTPrincipalReference a_OrganizationReference)
Sets the value of the attribute: ORGANIZATION_REFERENCE. |
void |
setOwner(WTPrincipal a_Owner)
Sets the value of the attribute: OWNER. |
void |
setPhase(ProjectPhase a_Phase)
Sets the value of the attribute: PHASE. |
void |
setProjectNumber(String a_ProjectNumber)
Sets the value of the attribute: PROJECT_NUMBER. |
void |
setScope(String a_Scope)
Sets the value of the attribute: SCOPE. |
void |
setSharingEnabled(boolean a_SharingEnabled)
Sets the value of the attribute: SHARING_ENABLED. |
| Methods inherited from class wt.fc.WTObject |
|---|
getDisplayIdentifier, getDisplayIdentity, getDisplayType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String SCOPE
public static final String PHASE
public static final String HEALTH_STATUS
public static final String CATEGORY
public static final String PROJECT_NUMBER
public static final String BUSINESS_UNIT
public static final String BUSINESS_LOCATION
public static final String BUDGET
public static final String CONTAINER_TEMPLATE
| Method Detail |
|---|
public String getScope()
public void setScope(String a_Scope)
throws WTPropertyVetoException
a_Scope -
WTPropertyVetoExceptionpublic ProjectPhase getPhase()
public void setPhase(ProjectPhase a_Phase)
throws WTPropertyVetoException
a_Phase -
WTPropertyVetoExceptionpublic ProjectHealthStatus getHealthStatus()
public void setHealthStatus(ProjectHealthStatus a_HealthStatus)
throws WTPropertyVetoException
a_HealthStatus -
WTPropertyVetoExceptionpublic ProjectCategory getCategory()
public void setCategory(ProjectCategory a_Category)
throws WTPropertyVetoException
a_Category -
WTPropertyVetoExceptionpublic String getProjectNumber()
public void setProjectNumber(String a_ProjectNumber)
a_ProjectNumber - public String getBusinessUnit()
public void setBusinessUnit(String a_BusinessUnit)
a_BusinessUnit - public String getBusinessLocation()
public void setBusinessLocation(String a_BusinessLocation)
a_BusinessLocation - public Currency getBudget()
public void setBudget(Currency a_Budget)
a_Budget -
public ProjectPlan getProjectPlan()
throws WTException
ProjectPlan that is associated
with this Project2 or null
if none exists.
WTException
public static boolean isProgram(WTReference ref)
throws WTException
ref -
WTException
public boolean isProgram()
throws WTException
WTExceptionpublic ContainerTeamManagedState getCtmState()
getCtmState in interface ContainerTeamManagedpublic String getInvitationMsg()
getInvitationMsg in interface ContainerTeamManaged
public void setInvitationMsg(String a_InvitationMsg)
throws WTPropertyVetoException
setInvitationMsg in interface ContainerTeamManageda_InvitationMsg -
WTPropertyVetoExceptionpublic WTPrincipal getCreator()
getCreator in interface WTContainer
public void setCreator(WTPrincipal a_Creator)
throws WTPropertyVetoException,
WTException
setCreator in interface WTContainera_Creator -
WTPropertyVetoException
WTExceptionpublic String getDescription()
getDescription in interface WTContainer
public void setDescription(String a_Description)
throws WTPropertyVetoException
setDescription in interface WTContainera_Description -
WTPropertyVetoExceptionpublic String getName()
IdentityHelper.service.changeIdentity(WTContainer,
WTContainerIdentity)
Subclasses should override the default implementation of setName
to call WTContainerInfo.setName(WTContainer,String).
This will ensure the change restriction check is properly enforced.
Supported API: true
getName in interface WTContainerIdentityService#changeIdentity,
WTContainerIdentity
public void setName(String a_Name)
throws WTPropertyVetoException
IdentityHelper.service.changeIdentity(WTContainer,
WTContainerIdentity)
Subclasses should override the default implementation of setName
to call WTContainerInfo.setName(WTContainer,String).
This will ensure the change restriction check is properly enforced.
Supported API: true
setName in interface WTContainera_Name -
WTPropertyVetoExceptionIdentityService#changeIdentity,
WTContainerIdentitypublic WTPrincipal getOwner()
getOwner in interface WTContainer
public void setOwner(WTPrincipal a_Owner)
throws WTPropertyVetoException,
WTException
setOwner in interface WTContainera_Owner -
WTPropertyVetoException
WTExceptionpublic boolean isSharingEnabled()
isSharingEnabled in interface WTContainer
public void setSharingEnabled(boolean a_SharingEnabled)
throws WTPropertyVetoException
setSharingEnabled in interface WTContainera_SharingEnabled -
WTPropertyVetoExceptionpublic WTContainerTemplate getContainerTemplate()
getContainerTemplate in interface WTContainer
public void setContainerTemplate(WTContainerTemplate a_ContainerTemplate)
throws WTPropertyVetoException,
WTException
setContainerTemplate in interface WTContainera_ContainerTemplate -
WTPropertyVetoException
WTExceptionpublic wt.inf.container.WTContainerTemplateRef getContainerTemplateReference()
getContainerTemplateReference in interface WTContainer
public void setContainerTemplateReference(wt.inf.container.WTContainerTemplateRef a_ContainerTemplateReference)
throws WTPropertyVetoException
setContainerTemplateReference in interface WTContainera_ContainerTemplateReference -
WTPropertyVetoException
public IdentificationObject getIdentificationObject()
throws WTException
getIdentificationObject in interface IdentifiedWTExceptionpublic WTPrincipalReference getOrganizationReference()
getOrganizationReference in interface OrganizationOwnedgetOrganizationReference in interface OrganizationOwnedImpl
public void setOrganizationReference(WTPrincipalReference a_OrganizationReference)
throws WTPropertyVetoException
a_OrganizationReference -
WTPropertyVetoExceptionpublic String getOrganizationUniqueIdentifier()
getOrganizationUniqueIdentifier in interface OrganizationOwnedpublic String getOrganizationCodingSystem()
getOrganizationCodingSystem in interface OrganizationOwnedpublic String getOrganizationName()
getOrganizationName in interface OrganizationOwnedpublic WTOrganization getOrganization()
getOrganization in interface OrganizationOwned
public void setOrganization(WTOrganization a_Organization)
throws WTPropertyVetoException
a_Organization -
WTPropertyVetoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||