|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.eff.EffGroup
An in-memory-only object used to encapsulate all the Eff
s associated
with a given EffManagedVersion
and EffContext
for client
interaction purposes (for example, if three effectivities exist for configuration
item X and part 100 Rev A, these three effectivities will be represented
as a range like "1-10, 12, 20-").
Supported API: true
Extendable: false
EffGroupAssistant.getValidEffGroups(EffManagedVersion, EffContext)
,
EffGroupAssistant.getValidEffGroups(EffContext)
,
Serialized FormNested Class Summary | |
private static class |
EffGroup.RangeSet
|
Field Summary | |
private ChangeActivityIfc |
authorizedBy
|
private static String |
CLASSNAME
|
private EffContext |
effContext
|
private Class |
effRange
|
private Class |
effRangeType
|
private WTPrincipal |
modifier
|
private Timestamp |
modifyStamp
|
private EffGroup |
predecessor
|
private String |
range
|
private static String |
RESOURCE
|
private EffGroup |
successor
|
private EffManagedVersion |
target
|
private Class |
type
|
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Constructor Summary | |
|
EffGroup(Eff eff)
Constructs a group based on the effectivity. |
|
EffGroup(Eff[] effs)
Constructs a group based on the effectivities. |
|
EffGroup(EffContext an_EffContext,
Class a_Type,
String a_Range)
Construct a group based on the provided values. |
private |
EffGroup(EffGroup successor,
SortedMap effHistoryMap)
|
|
EffGroup(EffManagedVersion a_Target,
EffContext an_EffContext,
Class a_Type,
String a_Range)
Constructs a group based on the provided values. |
Method Summary | |
protected EffGroup |
duplicate()
|
ChangeActivityIfc |
getAuthorizedBy()
Gets the object for the association that plays role: authorizedBy. |
LocalizableMessage |
getDisplayIdentifier()
Returns a localizable message describing the identifier for the object. |
DisplayIdentity |
getDisplayIdentity()
Supported API: false |
LocalizableMessage |
getDisplayType()
Returns a localizable message describing the object's type. |
EffContext |
getEffContext()
Gets the object for the association that plays role: effContext; The context the range applies to. |
Class |
getEffRange()
Gets the value of the attribute: effRange; The EffRange class. |
Class |
getEffRangeType()
Gets the value of the attribute: effRangeType; The type (String, Timestamp) represented in the range. |
WTPrincipal |
getModifier()
Gets the object for the association that plays role: modifier. |
Timestamp |
getModifyStamp()
Gets the value of the attribute: modifyStamp. |
EffGroup |
getPredecessor()
Gets the object for the association that plays role: predecessor. |
String |
getRange()
Gets the value of the attribute: range; The range representation of all the EffRanges (in each Eff) this EffGroup is standing in for. |
EffGroup |
getSuccessor()
Gets the object for the association that plays role: successor. |
EffManagedVersion |
getTarget()
Gets the object for the association that plays role: target; The target for this EffGroup. |
Class |
getType()
Gets the value of the attribute: type; The Eff class. |
void |
setEffContext(EffContext a_EffContext)
Sets the object for the association that plays role: effContext; The context the range applies to. |
private void |
setEffRangeClassAttrs()
|
void |
setRange(String a_Range)
Sets the value of the attribute: range; The range representation of all the EffRanges (in each Eff) this EffGroup is standing in for. |
void |
setTarget(EffManagedVersion a_Target)
Sets the object for the association that plays role: target; The target for this EffGroup. |
private void |
targetValidate(EffManagedVersion a_Target)
|
private void |
validateType(EffContext an_EffContext,
Class a_Type)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private String range
private Class type
private Class effRange
private Class effRangeType
private Timestamp modifyStamp
private EffContext effContext
private EffManagedVersion target
private WTPrincipal modifier
private ChangeActivityIfc authorizedBy
private EffGroup predecessor
private EffGroup successor
Constructor Detail |
public EffGroup(Eff eff) throws WTPropertyVetoException
eff
-
WTPropertyVetoException
public EffGroup(Eff[] effs) throws WTPropertyVetoException
effs
-
WTPropertyVetoException
public EffGroup(EffManagedVersion a_Target, EffContext an_EffContext, Class a_Type, String a_Range) throws WTPropertyVetoException
a_Target
- an_EffContext
- a_Type
- a_Range
-
WTPropertyVetoException
public EffGroup(EffContext an_EffContext, Class a_Type, String a_Range) throws WTPropertyVetoException
an_EffContext
- a_Type
- a_Range
-
WTPropertyVetoException
private EffGroup(EffGroup successor, SortedMap effHistoryMap) throws WTPropertyVetoException
Method Detail |
public String getRange()
public void setRange(String a_Range) throws WTPropertyVetoException
a_Range
-
WTPropertyVetoException
public Class getType()
public Class getEffRange()
public Class getEffRangeType()
public Timestamp getModifyStamp()
public EffContext getEffContext()
public void setEffContext(EffContext a_EffContext) throws WTPropertyVetoException
a_EffContext
-
WTPropertyVetoException
public EffManagedVersion getTarget()
public void setTarget(EffManagedVersion a_Target) throws WTPropertyVetoException
a_Target
-
WTPropertyVetoException
private void targetValidate(EffManagedVersion a_Target) throws WTPropertyVetoException
a_Target
-
WTPropertyVetoException
public WTPrincipal getModifier()
public ChangeActivityIfc getAuthorizedBy()
public EffGroup getPredecessor()
public EffGroup getSuccessor()
public LocalizableMessage getDisplayType()
getDisplayType
in interface DisplayIdentification
public LocalizableMessage getDisplayIdentifier()
getDisplayIdentifier
in interface DisplayIdentification
public DisplayIdentity getDisplayIdentity()
getDisplayIdentity
in interface DisplayIdentification
private void validateType(EffContext an_EffContext, Class a_Type) throws WTPropertyVetoException
WTPropertyVetoException
private void setEffRangeClassAttrs()
protected EffGroup duplicate() throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |