Primavera Integration API 7.0

com.primavera.integration.client.bo.enm
Class EnumType

java.lang.Object
  extended by com.primavera.integration.client.bo.enm.EnumType
Direct Known Subclasses:
AccrualType, ActivityCodeTypeScope, ActivityStatus, ActivityType, AssignmentStaffingPreference, BudgetChangeStatus, CalendarType, ConstraintType, CriterionType, CriticalActivityPathType, DefaultRateType, DiscountApplicationPeriod, DocumentManagementSecurityPolicy, DocumentType, DurationType, EarnedValueComputeType, EarnedValueETCComputeType, EmailType, EstimateType, GlobalPrivilege, ImportOption, ImportOption, InitiationReviewStatus, InitiationStageReviewType, InitiationStageStatus, InitiationStatus, IntegratedProjectType, IssuePriority, IssueStatus, JobStatus, JobType, LevelingPriority, LicenseType, MethodologyType, NegativeCurrencyFormat, OutOfSequenceScheduleType, PercentCompleteType, PortfolioType, PositiveCurrencyFormat, Proficiency, ProjectPrivilege, ProjectRiskLevel, ProjectStatus, RateSource, RateSourcePreference, RateType, RelationshipType, ResourceHourStatus, ResourceType, ReviewStatus, RiskPriority, RiskStatus, RoleLimitDisplayOption, ScheduleFloatType, ScheduleRelationshipLagCalendar, SpreadPeriodType, SummaryLevel, SummarySpreadInterval, ThresholdMonitorDetail, ThresholdParameterType, ThresholdStatus, TimesheetApprovingAs, TimesheetStatus, UDFDataType, UDFIndicator, UDFSubjectArea, UnitType

public abstract class EnumType
extends java.lang.Object

The base class of all typesafe enumerations


Constructor Summary
EnumType()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares this enumeration to the specified object
abstract  java.lang.String getDescription()
          Gets the description of this enumeration instance
abstract  java.lang.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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumType

public EnumType()
Method Detail

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 java.lang.Object
Returns:
int a hash code value for this object.

equals

public boolean equals(java.lang.Object obj)
Compares this enumeration to the specified object

Overrides:
equals in class java.lang.Object
Parameters:
obj - the object to compare this enumeration against
Returns:
boolean true if the objects are equal; false otherwise

getValue

public abstract java.lang.String getValue()
Gets the internal value of this enumeration instance

Returns:
String the internal value

getDescription

public abstract java.lang.String getDescription()
Gets the description of this enumeration instance

Returns:
String the description

Primavera Integration API 7.0

Copyright © 2003, 2009, Oracle and/or its affiliates. All rights reserved.