com.beasys.commerce.axiom.reasoning.rules.service
Class RulesetDataPK
java.lang.Object
|
+--com.beasys.commerce.axiom.reasoning.rules.service.RulesetDataPK
- public class RulesetDataPK
- extends java.lang.Object
- implements java.io.Serializable
Implements a primary key for rulesets
- See Also:
- Serialized Form
Field Summary |
java.lang.String |
name
The rule set name |
Method Summary |
boolean |
equals(java.lang.Object theOther)
Check for object equality |
java.lang.String |
getName()
Gets name |
int |
hashCode()
Gets a hashcode for the key |
void |
setName(java.lang.String name)
Sets name |
java.lang.String |
toString()
String representation of the pk |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
name
public java.lang.String name
- The rule set name
RulesetDataPK
public RulesetDataPK()
- Default constructor
RulesetDataPK
public RulesetDataPK(java.lang.String name)
throws java.lang.IllegalArgumentException
- Constructer
- Parameters:
name
- - Throws:
- java.lang.IllegalArgumentException - Thrown if name is null or zero-length
equals
public boolean equals(java.lang.Object theOther)
- Check for object equality
- Overrides:
- equals in class java.lang.Object
- Parameters:
theOther
- the object to check against.- Returns:
- True if equal, false otherwise
getName
public java.lang.String getName()
- Gets name
- Returns:
- The name
hashCode
public int hashCode()
- Gets a hashcode for the key
- Overrides:
- hashCode in class java.lang.Object
- Returns:
- The hashcode
TODO:
1. Fix this
setName
public void setName(java.lang.String name)
throws java.lang.IllegalArgumentException
- Sets name
- Parameters:
name
- - Throws:
- java.lang.IllegalArgumentException - Thrown if name is null or zero-length
toString
public java.lang.String toString()
- String representation of the pk
- Overrides:
- toString in class java.lang.Object
- Returns:
- the string representation
Copyright © 2000 BEA Systems, Inc. All Rights Reserved