Package wt.eff
Class PersistableEffConfigSpec
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.enterprise._Simple
wt.enterprise.Simple
wt.eff._PersistableEffConfigSpec
wt.eff.PersistableEffConfigSpec
- All Implemented Interfaces:
Externalizable,Serializable,wt.access._AccessControlled,wt.access._PolicyAccessControlled,wt.access._SecurityLabeled,AccessControlled,wt.access.PolicyAccessControlled,SecurityLabeled,wt.admin._DomainAdministered,DomainAdministered,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.adminlock._AdministrativelyLockable,AdministrativelyLockable,wt.fc.BusinessInformation,NetFactor,ObjectMappable,Persistable,DisplayIdentification,wt.notify._Notifiable,Notifiable,ConfigSpec
- Direct Known Subclasses:
wt.part._PlantPersistableEffConfigSpec
@GenAsPersistable(superClass=Simple.class,
interfaces=ConfigSpec.class,
versions=-2092505776536210746L,
properties=@GeneratedProperty(name="effConfigSpec",type=EffConfigSpec.class,supportedAPI=PRIVATE,javaDoc="Internal storage mechanism for config spec info. Not intended for direct use.",constraints=@PropertyConstraints(required=true),columnProperties=@ColumnProperties(columnName="B")),
foreignKeys=@GeneratedForeignKey(myRoleIsRoleA=false,foreignKeyRole=@ForeignKeyRole(name="group",type=EffConfigSpecGroup.class,supportedAPI=PRIVATE,javaDoc="The group this PersistableEffConfigSpec is assigned to."),myRole=@MyRole(name="effConfigSpec",cardinality=ONE_TO_MANY,supportedAPI=PRIVATE,javaDoc="All the PersistableEffConfigSpecs for this group.")),
tableProperties=@TableProperties(oracleTableSize=MEDIUM))
public class PersistableEffConfigSpec
extends wt.eff._PersistableEffConfigSpec
Persistent wrapper of an
EffConfigSpec (which is ObjectMappable).
This PersistableEffConfigSpec can be associated to an EffConfigSpecGroup.
Use the newPersistableEffConfigSpec static factory method(s),
not the PersistableEffConfigSpec 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: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from class wt.eff._PersistableEffConfigSpec
EFF_CONFIG_SPEC, EXTERNALIZATION_VERSION_UID, GROUP, GROUP_REFERENCEFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.fc.adminlock._AdministrativelyLockable
ADMINISTRATIVE_LOCKFields inherited from interface wt.admin._DomainAdministered
DOMAIN_REF, INHERITED_DOMAINFields inherited from interface wt.notify._Notifiable
EVENT_SETFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.access._SecurityLabeled
SECURITY_LABELSFields inherited from interface wt.fc.BusinessInformation
BUSINESS_TYPE, IDENTITYFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.fc.Persistable
IDENTITY, TYPEFields inherited from interface wt.access.SecurityLabeled
SECURITY_LABELS_INTERNAL_VALUE -
Method Summary
Modifier and TypeMethodDescriptionappendSearchCriteria(QuerySpec querySpec) Appends a 'context =and start invalid input: '<'= and (end >= or end = null' to the QuerySpec. Gets the value of the attribute: EFF_CONTEXT.Gets the value of the attribute: EFF_TYPE.getValue()Gets the value of the attribute: VALUE.Gets the value of the attribute: VALUE_AS_STRING.protected voidinitialize(EffConfigSpec an_EffConfigSpec) Supports initialization, following construction of an instance.protected voidinitialize(EffContext an_EffContext, Class an_EffType, Serializable a_Value) Supports initialization, following construction of an instance.protected voidinitialize(EffContext an_EffContext, Class an_EffType, String a_ValueAsString) Supports initialization, following construction of an instance.static PersistableEffConfigSpecnewPersistableEffConfigSpec(EffConfigSpec an_EffConfigSpec) Factory to construct a PersistableEffConfigSpec based on the context and a type.static PersistableEffConfigSpecnewPersistableEffConfigSpec(EffContext an_EffContext, Class an_EffType, Serializable a_Value) Factory to construct a PersistableEffConfigSpec based on the context, a type, and a value.static PersistableEffConfigSpecnewPersistableEffConfigSpec(EffContext an_EffContext, Class an_EffType, String a_ValueAsString) Factory to construct a PersistableEffConfigSpec based on the context, a type, and string value.process(QueryResult results) Returns the elements passed in.voidsetEffContext(EffContext a_EffContext) Sets the value of the attribute: EFF_CONTEXT.voidsetValue(Serializable a_Value) Sets the value of the attribute: VALUE.voidsetValueAsString(String a_ValueAsString) Sets the value of the attribute: VALUE_AS_STRING.Methods inherited from class wt.eff._PersistableEffConfigSpec
getClassInfo, getConceptualClassname, getEffConfigSpec, getGroup, getGroupReference, getType, readExternal, readExternal, readVersion, setEffConfigSpec, setGroup, setGroupReference, super_readExternal_PersistableEffConfigSpec, super_readVersion_PersistableEffConfigSpec, super_writeExternal_PersistableEffConfigSpec, writeExternal, writeExternalMethods inherited from class wt.enterprise.Simple
getBusinessType, getIdentity, initializeMethods inherited from class wt.enterprise._Simple
getAdministrativeLock, getDomainRef, getEventSet, getSecurityLabels, isInheritedDomain, readVersion, setAdministrativeLock, setDomainRef, setEventSet, setInheritedDomain, setSecurityLabels, super_readExternal_Simple, super_readVersion_Simple, super_writeExternal_SimpleMethods inherited from class wt.fc.WTObject
checkAttributes, duplicate, getDisplayIdentifier, getDisplayIdentity, getDisplayType, toStringMethods inherited from class wt.fc._WTObject
equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfo
-
Method Details
-
getEffContext
Gets the value of the attribute: EFF_CONTEXT. The context for which the value should be applied to.
Supported API: true- Returns:
- EffContext
- Throws:
ObjectNoLongerExistsException
-
setEffContext
Sets the value of the attribute: EFF_CONTEXT. The context for which the value should be applied to.
Supported API: true- Parameters:
a_EffContext-- Throws:
WTPropertyVetoException
-
getEffType
Gets the value of the attribute: EFF_TYPE. The Eff class (type).
Supported API: true- Returns:
- Class
-
getValue
Gets the value of the attribute: VALUE. The value represented by this Eff.
Supported API: true- Returns:
- Serializable
-
setValue
Sets the value of the attribute: VALUE. The value represented by this Eff.
Supported API: true- Parameters:
a_Value-- Throws:
WTPropertyVetoException
-
getValueAsString
Gets the value of the attribute: VALUE_AS_STRING. The value, represented as a String.
Supported API: true- Returns:
- String
-
setValueAsString
Sets the value of the attribute: VALUE_AS_STRING. The value, represented as a String.
Supported API: true- Parameters:
a_ValueAsString-- Throws:
WTPropertyVetoException
-
appendSearchCriteria
Appends a 'context =and start invalid input: '<'= and (end >= or end = null' to the QuerySpec.
Supported API: true- Parameters:
querySpec- A QuerySpec with a target class that is Iterated.- Returns:
- QuerySpec
- Throws:
WTExceptionQueryException- See Also:
-
process
Returns the elements passed in.
Supported API: true- Parameters:
results- QueryResult of iterations to filter. Assumed to be the result of a query that included the additional search conditions applied by appendSearchCriteria. Note that after enumerating through the elements of this QueryResult, it should be reset.- Returns:
- QueryResult
- Throws:
WTException- See Also:
-
newPersistableEffConfigSpec
public static PersistableEffConfigSpec newPersistableEffConfigSpec(EffConfigSpec an_EffConfigSpec) throws WTPropertyVetoException Factory to construct a PersistableEffConfigSpec based on the context and a type. The value is left null.
Supported API: true- Parameters:
an_EffConfigSpec-- Returns:
- PersistableEffConfigSpec
- Throws:
WTPropertyVetoException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
an_EffConfigSpec-- Throws:
WTPropertyVetoException
-
newPersistableEffConfigSpec
public static PersistableEffConfigSpec newPersistableEffConfigSpec(EffContext an_EffContext, Class an_EffType, Serializable a_Value) throws WTPropertyVetoException Factory to construct a PersistableEffConfigSpec based on the context, a type, and a value.
Supported API: true- Parameters:
an_EffContext-an_EffType-a_Value-- Returns:
- PersistableEffConfigSpec
- Throws:
WTPropertyVetoException
-
initialize
protected void initialize(EffContext an_EffContext, Class an_EffType, Serializable a_Value) throws WTPropertyVetoException Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
an_EffContext-an_EffType-a_Value-- Throws:
WTPropertyVetoException
-
newPersistableEffConfigSpec
public static PersistableEffConfigSpec newPersistableEffConfigSpec(EffContext an_EffContext, Class an_EffType, String a_ValueAsString) throws WTPropertyVetoException Factory to construct a PersistableEffConfigSpec based on the context, a type, and string value.
Supported API: true- Parameters:
an_EffContext-an_EffType-a_ValueAsString-- Returns:
- PersistableEffConfigSpec
- Throws:
WTPropertyVetoException
-
initialize
protected void initialize(EffContext an_EffContext, Class an_EffType, String a_ValueAsString) throws WTPropertyVetoException Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
an_EffContext-an_EffType-a_ValueAsString-- Throws:
WTPropertyVetoException
-