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 Details

    • setNumber

      public void setNumber(String number) throws WTPropertyVetoException
      Sets the value of the attribute: number; A string representing the number of a MPMConfigurationRecipe.

      Supported API: true
      Overrides:
      setNumber in class wt.mpm.configuration._MPMConfRecipeMasterIdentity
      Parameters:
      number -
      Throws:
      WTPropertyVetoException
    • getKeyClassName

      protected String getKeyClassName()
      Returns MPMConfRecipeMasterKey.

      Supported API: true
      Overrides:
      getKeyClassName in class IdentificationObject
      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

      protected void setToObject(Identified obj)


      Supported API: true
      Specified by:
      setToObject in class IdentificationObject
      Parameters:
      obj -
    • getIdentity

      public String getIdentity()


      Supported API: true
      Specified by:
      getIdentity in class IdentificationObject
      Returns:
      String