|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.enterprise.Simple
wt.dataops.objectcol.BaseCriterionDef
Use the newBaseCriterionDef
static factory method(s), not
the BaseCriterionDef
constructor, to construct instances
of this class. Instances must be constructed using the static factory(s),
in order to ensure proper initialization of the instance.
Supported API: false
Extendable: false
Field Summary | |
protected BaseXMLDefAdapter |
baseXMLDef
|
private static String |
CLASSNAME
|
private ControlBranch |
controlBranch
|
static long |
EXTERNALIZATION_VERSION_UID
|
private IterationInfo |
iterationInfo
|
private ObjectReference |
masterReference
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private XMLLob |
spec
|
Fields inherited from class wt.enterprise.Simple |
OLD_FORMAT_VERSION_UID |
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
Fields 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_NAME |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.admin.DomainAdministered |
DOMAIN_REF, INHERITED_DOMAIN |
Fields inherited from interface wt.fc.BusinessInformation |
BUSINESS_TYPE, IDENTITY |
Fields inherited from interface wt.notify.Notifiable |
EVENT_SET |
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Constructor Summary | |
BaseCriterionDef()
|
Method Summary | |
protected BaseXMLDefAdapter |
createDefaultXMLDefAdapter()
|
protected Map |
createInputMap(InputValue[] inputs,
BaseXMLDefAdapter adapter)
|
boolean |
equals(Object obj)
Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifier s. |
protected InputValue |
findInputWithName(String name,
InputValue[] vals)
|
InputValue[] |
getAllInputs()
Supported API: false |
long |
getBranchIdentifier()
Gets the value of the attribute: branchIdentifier; Derived attribute for displaying the iteration's branch identifier in query results. |
String |
getConceptualClassname()
Deprecated. |
protected Element |
getConditionElement()
|
protected Element |
getContentElement()
|
ControlBranch |
getControlBranch()
Gets the value of the attribute: controlBranch. |
WTPrincipalReference |
getCreator()
Gets the value of the attribute: creator; Derived attribute for displaying the Version Creator. |
String |
getCreatorEMail()
Gets the value of the attribute: creatorEMail; Derived attribute for displaying the iteration creator's E-Mail address in query results. |
String |
getCreatorFullName()
Gets the value of the attribute: creatorFullName; Derived attribute for displaying the iteration creator's fullname in query results. |
String |
getCreatorName()
Gets the value of the attribute: creatorName; Derived attribute for displaying the iteration creator's name in query results. |
String |
getDescription()
Supported API: false |
String |
getDescription(Locale locale)
Supported API: false |
String |
getDisplayName()
Supported API: false |
String |
getDisplayName(Locale locale)
Supported API: false |
protected Element |
getFilterElement()
|
protected InputValue[] |
getInputs(boolean required)
|
protected InputType |
getInputTypeFromType(String type)
|
IterationIdentifier |
getIterationIdentifier()
Gets the value of the attribute: iterationIdentifier; Derived attribute for displaying the iteration identifier in query results. |
IterationInfo |
getIterationInfo()
Gets the object for the association that plays role: iterationInfo; The iteration cookie aggregated in any business object that asserts itself as being iterated. |
String |
getIterationNote()
Gets the value of the attribute: iterationNote; Derived attribute for displaying the iteration's note in query results. |
Mastered |
getMaster()
Gets the object for the association that plays role: master. |
ObjectReference |
getMasterReference()
Gets the value of the attribute: masterReference. |
WTPrincipalReference |
getModifier()
Gets the value of the attribute: modifier; Derived attribute for displaying the iteration's modifier in query results. |
String |
getModifierEMail()
Gets the value of the attribute: modifierEMail; Derived attribute for displaying the iteration modifier's E-Mail address in query results. |
String |
getModifierFullName()
Gets the value of the attribute: modifierFullName; Derived attribute for displaying the iteration modifier's fullname in query results. |
String |
getModifierName()
Gets the value of the attribute: modifierName; Derived attribute for displaying the iteration modifier's name in query results. |
String |
getName()
Gets the value of the attribute: name. |
InputValue[] |
getRequiredInputs()
Supported API: false |
XMLLob |
getSpec()
Gets the value of the attribute: spec. |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
protected void |
initialize()
Supported API: false |
boolean |
isLatestIteration()
Gets the value of the attribute: latestIteration; Derived attribute for displaying the iteration "latest" flag in query results. |
boolean |
isPrimaryDef()
Gets the value of the attribute: primaryDef. |
private void |
iterationInfoValidate(IterationInfo a_IterationInfo)
|
protected List |
makeValueList(InputType type,
String value)
|
private void |
masterReferenceValidate(ObjectReference a_MasterReference)
|
static BaseCriterionDef |
newBaseCriterionDef()
Default factory for the class. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
void |
readExternal(PersistentRetrieveIfc input)
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store. |
void |
setControlBranch(ControlBranch a_ControlBranch)
Sets the value of the attribute: controlBranch. |
void |
setDescription(String description)
Supported API: false |
void |
setDisplayName(String displayName)
Supported API: false |
void |
setIterationInfo(IterationInfo a_IterationInfo)
Sets the object for the association that plays role: iterationInfo; The iteration cookie aggregated in any business object that asserts itself as being iterated. |
void |
setMaster(Mastered a_Master)
Sets the object for the association that plays role: master. |
void |
setMasterReference(ObjectReference a_MasterReference)
Sets the value of the attribute: masterReference. |
void |
setName(String a_Name)
Sets the value of the attribute: name. |
void |
setPrimaryDef(boolean a_PrimaryDef)
Sets the value of the attribute: primaryDef. |
void |
setSpec(XMLLob a_Spec)
Sets the value of the attribute: spec. |
boolean |
validateInputs(InputValue[] inputs)
Supported API: false |
protected boolean |
validateValue(String name,
InputType type,
String value)
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
void |
writeExternal(PersistentStoreIfc output)
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store. |
Methods inherited from class wt.enterprise.Simple |
getBusinessType, getDomainRef, getEventSet, getIdentity, isInheritedDomain, readVersion, setDomainRef, setEventSet, setInheritedDomain |
Methods inherited from class wt.fc.WTObject |
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getModifyTimestamp, getPersistInfo, getType, readVersion, setPersistInfo, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface wt.fc.Persistable |
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private XMLLob spec
private ObjectReference masterReference
private ControlBranch controlBranch
private IterationInfo iterationInfo
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected BaseXMLDefAdapter baseXMLDef
Constructor Detail |
public BaseCriterionDef()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class Simple
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class Simple
input
-
IOException
ClassNotFoundException
public void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
writeExternal
in class Simple
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
readExternal
in class Simple
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public XMLLob getSpec()
public void setSpec(XMLLob a_Spec) throws WTPropertyVetoException
a_Spec
-
WTPropertyVetoException
public String getName()
public void setName(String a_Name) throws WTPropertyVetoException
a_Name
-
WTPropertyVetoException
public boolean isPrimaryDef()
public void setPrimaryDef(boolean a_PrimaryDef) throws WTPropertyVetoException
a_PrimaryDef
-
WTPropertyVetoException
public Mastered getMaster()
getMaster
in interface Iterated
Mastered
public void setMaster(Mastered a_Master) throws WTPropertyVetoException, WTException
setMaster
in interface Iterated
a_Master
-
WTPropertyVetoException
WTException
Mastered
public ObjectReference getMasterReference()
getMasterReference
in interface Iterated
Mastered
public void setMasterReference(ObjectReference a_MasterReference) throws WTPropertyVetoException
setMasterReference
in interface Iterated
a_MasterReference
-
WTPropertyVetoException
Mastered
private void masterReferenceValidate(ObjectReference a_MasterReference) throws WTPropertyVetoException
a_MasterReference
-
WTPropertyVetoException
public InputValue[] getRequiredInputs() throws WTException
WTException
public boolean validateInputs(InputValue[] inputs) throws WTException
inputs
-
WTException
public String getDisplayName(Locale locale)
locale
-
public String getDescription(Locale locale)
locale
-
protected void initialize() throws WTException
initialize
in class Simple
WTException
public InputValue[] getAllInputs() throws WTException
WTException
public void setDisplayName(String displayName) throws WTPropertyVetoException
displayName
-
WTPropertyVetoException
public void setDescription(String description) throws WTPropertyVetoException
description
-
WTPropertyVetoException
public String getDisplayName()
public String getDescription()
public static BaseCriterionDef newBaseCriterionDef() throws WTException
WTException
public String getIterationNote()
getIterationNote
in interface Iterated
public String getCreatorEMail()
getCreatorEMail
in interface Iterated
public String getCreatorName()
getCreatorName
in interface Iterated
public String getCreatorFullName()
getCreatorFullName
in interface Iterated
public WTPrincipalReference getModifier()
getModifier
in interface Iterated
public String getModifierEMail()
getModifierEMail
in interface Iterated
public String getModifierName()
getModifierName
in interface Iterated
public String getModifierFullName()
getModifierFullName
in interface Iterated
public IterationIdentifier getIterationIdentifier()
getIterationIdentifier
in interface Iterated
public long getBranchIdentifier()
getBranchIdentifier
in interface Iterated
public boolean isLatestIteration()
isLatestIteration
in interface Iterated
public WTPrincipalReference getCreator()
getCreator
in interface Iterated
public ControlBranch getControlBranch()
getControlBranch
in interface Iterated
public void setControlBranch(ControlBranch a_ControlBranch) throws WTPropertyVetoException
setControlBranch
in interface Iterated
a_ControlBranch
-
WTPropertyVetoException
public IterationInfo getIterationInfo()
getIterationInfo
in interface Iterated
IterationInfo
public void setIterationInfo(IterationInfo a_IterationInfo) throws WTPropertyVetoException
setIterationInfo
in interface Iterated
a_IterationInfo
-
WTPropertyVetoException
IterationInfo
private void iterationInfoValidate(IterationInfo a_IterationInfo) throws WTPropertyVetoException
a_IterationInfo
-
WTPropertyVetoException
public boolean equals(Object obj)
ObjectIdentifier
s.
Changed or stale copies are still considered equal by this method.
Delegates to PersistenceHelper.equals(Persistable,Object)
.
Warning: Certain core Windchill operations may depend upon
equals
being ObjectIdentifier
-based. Changes
to the default implementation should be done with care, if at all.
Supported API: false
equals
in class Simple
obj
-
public int hashCode()
ObjectIdentifier
.
Delegates to PersistenceHelper.hashCode(Persistable)
.
Warning: Certain core Windchill operations may depend upon
hashCode
being ObjectIdentifier-based
. Changes
to the default implementation should be done with care, if at all.
Supported API: false
hashCode
in class Simple
protected boolean validateValue(String name, InputType type, String value) throws WTException
WTException
protected InputType getInputTypeFromType(String type)
protected BaseXMLDefAdapter createDefaultXMLDefAdapter() throws WTException, NoSuchDomElementException
WTException
NoSuchDomElementException
protected Element getContentElement() throws WTException
WTException
protected Element getConditionElement() throws WTException
WTException
protected Element getFilterElement() throws WTException
WTException
protected Map createInputMap(InputValue[] inputs, BaseXMLDefAdapter adapter) throws WTException
WTException
protected List makeValueList(InputType type, String value) throws WTException
WTException
protected InputValue findInputWithName(String name, InputValue[] vals)
protected InputValue[] getInputs(boolean required) throws WTException, NoSuchDomElementException
WTException
NoSuchDomElementException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |