Class PortfolioType
java.lang.Object
com.primavera.integration.client.bo.enm.EnumType
com.primavera.integration.client.bo.enm.PortfolioType
Portfolio type enumerations are used to indicate the type of a project portfolio. Valid values
are: 'Manual' and 'Filtered'. 'Auto-Maintained' is not supported. 'Filtered' project portfolios
are used only by Primavera's Web application.
To use an enumeration in a where clause, make sure you use the internal database value. This can be retrieved from a particular enum instance by calling getValue().
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PortfolioTypestatic final PortfolioTypestatic final PortfolioTypestatic final PortfolioType -
Method Summary
Modifier and TypeMethodDescriptionGets the description of this PortfolioType instancestatic String[]Gets an array of all descriptions for this enumerationstatic String[]Gets an array of all internal values for this enumerationstatic PortfolioTypegetPortfolioType(int iPortfolioType) Gets an instance of PortfolioType based on the integer value specified.static PortfolioTypegetPortfolioType(String sPortfolioType) Gets an instance of PortfolioType based on the String value specified.getValue()Gets the internal value of this PortfolioType instancetoString()Returns a string representation of the object, which is the same as the description returned by the getDescription() method
-
Field Details
-
NULL
-
MANUAL
-
AUTOMAINTAINED
-
FILTERED
-
-
Method Details
-
toString
Returns a string representation of the object, which is the same as the description returned by the getDescription() method -
getValue
Gets the internal value of this PortfolioType instance -
getDescription
Gets the description of this PortfolioType instance- Specified by:
getDescriptionin classEnumType- Returns:
- String the description
-
getPortfolioType
Gets an instance of PortfolioType based on the String value specified.- Parameters:
sPortfolioType- the internal value or description- Returns:
- PortfolioType the unique PortfolioType instance
-
getPortfolioType
Gets an instance of PortfolioType based on the integer value specified.- Parameters:
iPortfolioType- an integer representing a particular value of this class. This value is also used when exporting to XML.- Returns:
- PortfolioType the unique PortfolioType instance
-
getEnumValues
Gets an array of all internal values for this enumeration- Returns:
- String[] an array of all internal values
-
getEnumDescriptions
Gets an array of all descriptions for this enumeration- Returns:
- String[] an array of all descriptions
-