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
See Also:
  • Method Details

    • newServiceEffectivity

      public static ServiceEffectivity newServiceEffectivity(WTReference target) throws WTException
      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

      public static ServiceEffectivity newServiceEffectivity(Persistable p) throws WTException
      A convenience factory method for newServiceEffectivity(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

      public static ServiceEffectivity newServiceEffectivity() throws WTException
      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