Class ServiceEffectivity
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
com.ptc.arbortext.windchill.siscore.serviceeff._ServiceEffectivity
com.ptc.arbortext.windchill.siscore.serviceeff.ServiceEffectivity
- All Implemented Interfaces:
com.ptc.arbortext.windchill.siscore.serviceeff._ServiceEffectivityTypeInterface,com.ptc.arbortext.windchill.siscore.serviceeff.ServiceEffectivityTypeInterface,Externalizable,Serializable,Comparable,wt.access._AccessControlled,wt.access._AccessControlList,wt.access._AdHocControlled,wt.access._PolicyAccessControlled,AccessControlled,wt.access.AccessControlList,AdHocControlled,wt.access.PolicyAccessControlled,wt.admin._DomainAdministered,DomainAdministered,wt.change2._Changeable2,wt.change2._ChangeableIfc,Changeable2,ChangeableIfc,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.adminlock._AdministrativelyLockable,AdministrativelyLockable,NetFactor,ObjectMappable,Persistable,wt.federation._FederatedLinkHolder,wt.federation._RemotelyLinkable,wt.federation.FederatedLinkHolder,wt.federation.RemotelyLinkable,wt.iba.value._IBAHolder,wt.iba.value.IBAHolder,DisplayIdentification,wt.inf.container._WTContained,WTContained,_LifeCycleManaged,LifeCycleManaged,wt.maturity._Promotable,Promotable,wt.notify._Notifiable,Notifiable,wt.recent.RecentlyVisited,_TeamManaged,TeamManaged,wt.type._Typed,wt.type._TypeManaged,wt.type.FlexTyped,wt.type.Typed,wt.type.TypeManaged,wt.ufid._Federatable,wt.ufid.Federatable,_Iterated,wt.vc._Versionable,wt.vc._Versioned,wt.vc.baseline._Baselineable,Baselineable,Iterated,Versionable,Versioned
@GenAsPersistable(superClass=WTObject.class,interfaces={wt.type.Typed.class,Iterated.class,wt.ufid.Federatable.class,com.ptc.arbortext.windchill.siscore.serviceeff.ServiceEffectivityTypeInterface.class,Baselineable.class,Promotable.class,java.lang.Comparable.class,Changeable2.class,LifeCycleManaged.class,wt.access.PolicyAccessControlled.class,WTContained.class,Versioned.class,Notifiable.class},extendable=true,properties={@GeneratedProperty(name="beginSerialNumberRange",type=java.lang.String.class,constraints=@PropertyConstraints(required=false)),@GeneratedProperty(name="endSerialNumberRange",type=java.lang.String.class,constraints=@PropertyConstraints(required=false)),@GeneratedProperty(name="beginDateRange",type=java.sql.Timestamp.class,constraints=@PropertyConstraints(required=false)),@GeneratedProperty(name="endDateRange",type=java.sql.Timestamp.class,constraints=@PropertyConstraints(required=false)),@GeneratedProperty(name="isPHAssoc",type=boolean.class,initialValue="false",columnProperties=@ColumnProperties(defaultValue="0"),constraints=@PropertyConstraints(required=false)),@GeneratedProperty(name="effectivityType",type=java.lang.String.class,constraints=@PropertyConstraints(upperLimit=50,required=false)),@GeneratedProperty(name="se_hash",type=java.lang.String.class,initialValue="ServiceEffectivity.getUniqueString()",javaDoc="Cumulative Hashcode of all Service Effectivity attributes.",constraints=@PropertyConstraints(required=true),columnProperties=@ColumnProperties(unique=true))},derivedProperties={@DerivedProperty(name="name",derivedFrom="master>name",supportedAPI=PUBLIC),@DerivedProperty(name="targetRef",derivedFrom="master>targetRef",supportedAPI=PUBLIC),@DerivedProperty(name="objectTargetRef",derivedFrom="master>objectTargetRef",supportedAPI=PUBLIC),@DerivedProperty(name="versionedTargetRef",derivedFrom="master>versionedTargetRef",supportedAPI=PUBLIC)},foreignKeys={@GeneratedForeignKey(name="ServiceMasterIteration",foreignKeyRole=@ForeignKeyRole(name="master",type=ServiceEffectivityMaster.class,cascade=false,constraints=@PropertyConstraints(required=true)),myRole=@MyRole(name="iteration",cascade=false)),@GeneratedForeignKey(name="EffContextServiceEff",myRoleIsRoleA=false,foreignKeyRole=@ForeignKeyRole(name="effContext",type=EffContext.class),myRole=@MyRole(name="serviceEff"))},tableProperties=@TableProperties(compositeIndex2="effContextReference.key.id",oracleTableSize=HUGE))
public class ServiceEffectivity
extends _ServiceEffectivity
This class provides way to manage service effectivity for the components in a structure
by creating service effectivity objects and associating them to an item
Supported API: true
Supported API: true
- See Also:
-
Field Summary
Fields inherited from class com.ptc.arbortext.windchill.siscore.serviceeff._ServiceEffectivity
BEGIN_DATE_RANGE, BEGIN_SERIAL_NUMBER_RANGE, EFF_CONTEXT, EFF_CONTEXT_REFERENCE, EFFECTIVITY_TYPE, END_DATE_RANGE, END_SERIAL_NUMBER_RANGE, EXTERNALIZATION_VERSION_UID, IS_PHASSOC, NAME, OBJECT_TARGET_REF, SE_HASH, TARGET_REF, VERSIONED_TARGET_REFFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.access._AdHocControlled
ENTRY_SETFields inherited from interface wt.fc.adminlock._AdministrativelyLockable
ADMINISTRATIVE_LOCKFields inherited from interface wt.change2._Changeable2
HAS_HANGING_CHANGE, HAS_PENDING_CHANGE, HAS_RESULTING_CHANGE, HAS_SUSPECT, HAS_VARIANCEFields inherited from interface wt.admin._DomainAdministered
DOMAIN_REF, INHERITED_DOMAINFields inherited from interface wt.ufid._Federatable
FEDERATABLE_INFOFields inherited from interface wt.iba.value._IBAHolder
ATTRIBUTE_CONTAINERFields inherited from interface wt.vc._Iterated
BRANCH_IDENTIFIER, CONTROL_BRANCH, CREATOR, CREATOR_EMAIL, CREATOR_FULL_NAME, CREATOR_NAME, ITERATION_IDENTIFIER, ITERATION_INFO, ITERATION_NOTE, LATEST_ITERATION, MASTER, MASTER_REFERENCE, MODIFIER, MODIFIER_EMAIL, MODIFIER_FULL_NAME, MODIFIER_NAMEFields inherited from interface wt.lifecycle._LifeCycleManaged
LIFE_CYCLE_AT_GATE, LIFE_CYCLE_BASIC, LIFE_CYCLE_NAME, LIFE_CYCLE_STATE, LIFE_CYCLE_TEMPLATE, STATEFields inherited from interface wt.notify._Notifiable
EVENT_SETFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface com.ptc.arbortext.windchill.siscore.serviceeff._ServiceEffectivityTypeInterface
TYPE_INFO_SERVICE_EFFECTIVITYFields inherited from interface wt.team._TeamManaged
TEAM_ID, TEAM_IDENTITY, TEAM_NAME, TEAM_TEMPLATE_ID, TEAM_TEMPLATE_IDENTITY, TEAM_TEMPLATE_NAMEFields inherited from interface wt.type._Typed
TYPE_DEFINITION_REFERENCEFields inherited from interface wt.vc._Versioned
VERSION_IDENTIFIER, VERSION_INFOFields inherited from interface wt.inf.container._WTContained
CONTAINER, CONTAINER_NAME, CONTAINER_REFERENCEFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.fc.Persistable
IDENTITY, TYPEFields inherited from interface wt.vc.Versioned
MASTER_SERIESFields inherited from interface wt.inf.container.WTContained
CONTAINER_ID -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceEffectivityA no-arg factory method to create ServiceEffectivity objects.static ServiceEffectivityA convenience factory method fornewServiceEffectivity(WTReference)so the caller does not have to obtain the reference.static ServiceEffectivitynewServiceEffectivity(WTReference target) A factory method for creating a new ServiceEffectivity object.Methods inherited from class com.ptc.arbortext.windchill.siscore.serviceeff._ServiceEffectivity
getAdministrativeLock, getAttributeContainer, getBeginDateRange, getBeginSerialNumberRange, getBranchIdentifier, getClassInfo, getConceptualClassname, getContainer, getContainerName, getContainerReference, getControlBranch, getCreator, getCreatorEMail, getCreatorFullName, getCreatorName, getDomainRef, getEffContext, getEffContextReference, getEndDateRange, getEndSerialNumberRange, getEntrySet, getEventSet, getFederatableInfo, getIterationIdentifier, getIterationInfo, getIterationNote, getLifeCycleName, getLifeCycleState, getLifeCycleTemplate, getMaster, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, getName, getObjectTargetRef, getSe_hash, getState, getTargetRef, getTeamId, getTeamIdentity, getTeamName, getTeamTemplateId, getTeamTemplateIdentity, getTeamTemplateName, getType, getTypeDefinitionReference, getTypeInfoServiceEffectivity, getVersionedTargetRef, getVersionIdentifier, getVersionInfo, isHasHangingChange, isHasPendingChange, isHasResultingChange, isHasSuspect, isHasVariance, isInheritedDomain, isIsPHAssoc, isLatestIteration, isLifeCycleAtGate, isLifeCycleBasic, readExternal, readExternal, readVersion, setAdministrativeLock, setAttributeContainer, setBeginDateRange, setBeginSerialNumberRange, setContainer, setControlBranch, setDomainRef, setEffContext, setEffContextReference, setEffectivityType, setEndDateRange, setEndSerialNumberRange, setEntrySet, setEventSet, setFederatableInfo, setHasHangingChange, setHasPendingChange, setHasResultingChange, setHasSuspect, setHasVariance, setInheritedDomain, setIsPHAssoc, setIterationInfo, setMaster, setMasterReference, setName, setObjectTargetRef, setSe_hash, setState, setTargetRef, setTeamId, setTeamTemplateId, setTypeDefinitionReference, setTypeInfoServiceEffectivity, setVersionedTargetRef, setVersionInfo, super_readExternal_ServiceEffectivity, super_readVersion_ServiceEffectivity, super_writeExternal_ServiceEffectivity, writeExternal, writeExternalMethods inherited from class wt.fc.WTObject
duplicate, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, toStringMethods inherited from class wt.fc._WTObject
getCreateTimestamp, getModifyTimestamp, getPersistInfo, readVersion, setPersistInfoMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc._Persistable
getPersistInfo, setPersistInfoMethods inherited from interface wt.fc.Persistable
getIdentity
-
Method Details
-
newServiceEffectivity
A factory method for creating a new ServiceEffectivity object. This method takes a target parameter, which will be set on the ServiceEffectivity's master object during initialization.- Parameters:
target-- Returns:
- A newly created, unpersisted ServiceEffectivity object.
- Throws:
WTException-
Supported API: true
-
newServiceEffectivity
A convenience factory method fornewServiceEffectivity(WTReference)so the caller does not have to obtain the reference. For Iterated targets, the VersionReference will be used; for all other targets, an ObjectReference will be used.- Parameters:
p-- Returns:
- A newly created, unpersisted ServiceEffectivity object.
- Throws:
WTException-
Supported API: true
-
newServiceEffectivity
A no-arg factory method to create ServiceEffectivity objects. This method is required for certain Windchill components to be able to generically create ServiceEffectivity objects. If the targetRef is not explicitly set before persisting an SE object created with this method, persistence will fail.- Returns:
- A newly created, unpersisted ServiceEffectivity object with no targetRef.
- Throws:
WTException-
Supported API: true
-