Class ProjectProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.communityprofile.properties.ProjectProperties
-
- All Implemented Interfaces:
Serializable
public class ProjectProperties extends ReferenceableProperties
ProjectProperties describes a project.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProjectProperties()Default constructorProjectProperties(ProjectProperties template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.StringgetDescription()Return the description of the project.StringgetName()Return the name of the project.DategetPlannedEndDate()Return the date that the project is expected to complete.DategetStartDate()Return the date that the project was created.StringgetStatus()Return the status for this project.inthashCode()Return hash code for this objectvoidsetDescription(String description)Set up the description of the project.voidsetName(String name)Set up the name of the project.voidsetPlannedEndDate(Date plannedEndDate)Set up the date that the project is expected to complete.voidsetStartDate(Date startDate)Set up the date that the project was created.voidsetStatus(String status)Set up the status for this project.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
-
-
-
Constructor Detail
-
ProjectProperties
public ProjectProperties()
Default constructor
-
ProjectProperties
public ProjectProperties(ProjectProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getName
public String getName()
Return the name of the project.- Returns:
- string name
-
setName
public void setName(String name)
Set up the name of the project.- Parameters:
name- string name
-
getDescription
public String getDescription()
Return the description of the project.- Returns:
- text
-
setDescription
public void setDescription(String description)
Set up the description of the project.- Parameters:
description- text
-
getStatus
public String getStatus()
Return the status for this project.- Returns:
- string id
-
setStatus
public void setStatus(String status)
Set up the status for this project.- Parameters:
status- string id
-
getStartDate
public Date getStartDate()
Return the date that the project was created.- Returns:
- date
-
setStartDate
public void setStartDate(Date startDate)
Set up the date that the project was created.- Parameters:
startDate- date
-
getPlannedEndDate
public Date getPlannedEndDate()
Return the date that the project is expected to complete.- Returns:
- date
-
setPlannedEndDate
public void setPlannedEndDate(Date plannedEndDate)
Set up the date that the project is expected to complete.- Parameters:
plannedEndDate- date
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classReferenceableProperties- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.- Overrides:
equalsin classReferenceableProperties- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classReferenceableProperties- Returns:
- int hash code
-
-