com.primavera.integration.client.bo.enm
Class EnumType
java.lang.Object
com.primavera.integration.client.bo.enm.EnumType
- Direct Known Subclasses:
- AccrualType, ActivityCodeTypeScope, ActivityStatus, ActivityType, AssignmentStaffingPreference, BudgetChangeStatus, CalendarType, ConstraintType, CriterionType, CriticalActivityPathType, CurrencySeparator, DayOfWeekType, DefaultRateType, DiscountApplicationPeriod, DocumentManagementSecurityPolicy, DocumentType, DurationType, EarnedValueCalculationType, EarnedValueComputeType, EarnedValueETCComputeType, EmailType, GlobalPrivilege, ImpactLevel, ImportOption, IntegratedObjectType, IntegratedProjectType, IssuePriority, IssueStatus, JobStatus, JobType, LevelingPriority, LicenseType, NegativeCurrencyFormat, OutOfSequenceScheduleType, PercentCompleteType, PortfolioType, PositiveCurrencyFormat, Proficiency, ProjectPrivilege, ProjectRiskLevel, ProjectStatus, RateSource, RateSourcePreference, RateType, RelationshipType, ResourceHourStatus, ResourceType, ReviewStatus, RiskPriority, RiskResponseActionStatus, RiskResponseType, RiskScoreMatrixMethod, RiskStatus, RiskType, RoleLimitDisplayOption, ScheduleFloatType, ScheduleRelationshipLagCalendar, SpreadPeriodType, SummaryLevel, SummarySpreadInterval, ThresholdMonitorDetail, ThresholdParameterType, ThresholdStatus, ThresholdType, TimesheetApprovingAs, TimesheetPeriodType, TimesheetStatus, UDFDataType, UDFIndicator, UDFSubjectArea, UDFSummaryMethodType, UnitType
public abstract class EnumType
- extends Object
The base class of all typesafe enumerations
Method Summary |
boolean |
equals(Object obj)
Compares this enumeration to the specified object |
abstract String |
getDescription()
Gets the description of this enumeration instance |
abstract String |
getValue()
Gets the internal value of this enumeration instance |
int |
hashCode()
Returns a hash code value for the object. |
int |
intValue()
Gets the integer representing this particular enumeration instance. |
EnumType
public EnumType()
intValue
public int intValue()
- Gets the integer representing this particular enumeration instance. This value is also used when exporting to XML.
- Returns:
- int an integer corresponding to the unique enumeration instance
hashCode
public int hashCode()
- Returns a hash code value for the object. This method is supported for the benefit of hashtables such as those provided by java.util.Hashtable.
- Overrides:
hashCode
in class Object
- Returns:
- int a hash code value for this object.
equals
public boolean equals(Object obj)
- Compares this enumeration to the specified object
- Overrides:
equals
in class Object
- Parameters:
obj
- the object to compare this enumeration against
- Returns:
- boolean true if the objects are equal; false otherwise
getValue
public abstract String getValue()
- Gets the internal value of this enumeration instance
- Returns:
- String the internal value
getDescription
public abstract String getDescription()
- Gets the description of this enumeration instance
- Returns:
- String the description
Copyright © 2003, 2010, Oracle and/or its affiliates. All rights reserved.