BEA Systems, Inc.

com.beasys.commerce.axiom.reasoning.rules.results
Class Classification

java.lang.Object
  |
  +--com.beasys.commerce.axiom.reasoning.rules.results.Classification

public class Classification
extends java.lang.Object
implements Nameable, java.io.Serializable

Simple object which serves as result type for Classifier rule.

See Also:
Serialized Form

Constructor Summary
Classification()
          Constructor.
Classification(java.lang.String initialName)
          Constructor.
 
Method Summary
 java.lang.String getName()
          Getter for name of classification.
 void setName(java.lang.String newName)
          Setter for name of classification.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Classification

public Classification()
Constructor.

Classification

public Classification(java.lang.String initialName)
Constructor.
Method Detail

getName

public java.lang.String getName()
Getter for name of classification.
Specified by:
getName in interface Nameable
Returns:
classification name.

setName

public void setName(java.lang.String newName)
             throws java.lang.IllegalArgumentException
Setter for name of classification.
Specified by:
setName in interface Nameable
Parameters:
newName - New name for classification.
Throws:
java.lang.IllegalArgumentException - Thrown if name is null or zero-length

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved