Package wt.mpm.configuration
Class MPMConfRecipeMasterIdentity
java.lang.Object
wt.fc._IdentificationObject
wt.fc.IdentificationObject
wt.mpm.configuration._MPMConfRecipeMasterIdentity
wt.mpm.configuration.MPMConfRecipeMasterIdentity
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._NetFactor,NetFactor
@GenAsUnPersistable(superClass=IdentificationObject.class,interfaces=java.io.Externalizable.class,serializable=EXTERNALIZABLE_BASIC,properties={@GeneratedProperty(name="name",type=java.lang.String.class,javaDoc="A string representing the name of a MPMConfigurationRecipe.",constraints=@PropertyConstraints(upperLimit=60,required=true)),@GeneratedProperty(name="number",type=java.lang.String.class,javaDoc="A string representing the number of a MPMConfigurationRecipe.",constraints=@PropertyConstraints(upperLimit=32),columnProperties=@ColumnProperties(columnName="MPMConfRecipeNumber"))})
public class MPMConfRecipeMasterIdentity
extends wt.mpm.configuration._MPMConfRecipeMasterIdentity
The identification object for MPMConfigurationRecipeMaster objects. The key constraint
is based on the number only, but changes to the name require using the
identification service.
Use the newMPMConfRecipeMasterIdentity static factory method(s),
not the MPMConfRecipeMasterIdentity 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:
-
Method Summary
Modifier and TypeMethodDescription
Supported API: trueprotected StringReturns MPMConfRecipeMasterKey.static MPMConfRecipeMasterIdentityFactory method to create a MPMConfRecipeMasterIdentity object with the name and number set to the passed-in arguments.voidSets the value of the attribute: number; A string representing the number of a MPMConfigurationRecipe.protected voidsetToObject(Identified obj)
Supported API: trueMethods inherited from class wt.fc.IdentificationObject
getSemanticKey, initialize
-
Method Details
-
setNumber
Sets the value of the attribute: number; A string representing the number of a MPMConfigurationRecipe.
Supported API: true- Overrides:
setNumberin classwt.mpm.configuration._MPMConfRecipeMasterIdentity- Parameters:
number-- Throws:
WTPropertyVetoException
-
getKeyClassName
Returns MPMConfRecipeMasterKey.
Supported API: true- Overrides:
getKeyClassNamein classIdentificationObject- Returns:
- String
- See Also:
-
wt.mpm.configuration.wpcfg.doc.MPMConfRecipeMasterKey
-
newMPMConfRecipeMasterIdentity
public static MPMConfRecipeMasterIdentity newMPMConfRecipeMasterIdentity(MPMConfigurationRecipeMaster doc) throws WTException Factory method to create a MPMConfRecipeMasterIdentity object with the name and number set to the passed-in arguments.
Supported API: true- Parameters:
doc-- Returns:
- MPMConfRecipeMasterIdentity
- Throws:
WTException
-
setToObject
Supported API: true- Specified by:
setToObjectin classIdentificationObject- Parameters:
obj-
-
getIdentity
Supported API: true- Specified by:
getIdentityin classIdentificationObject- Returns:
- String
-