theory.smart.axiom.units
Interface Quality
- All Known Implementing Classes:
- QualityImpl
- public interface Quality
- extends Belonging
Represents a Quality that can be had or desired. It contains a string which describes the quality and a factor ( typically from 1 to 100 ) that describes the degree to which the product posesses the quality or the desirablility of the quality.
name
[Quality] <*>------> [String
]
degree
[Quality] <*>------> [int
]
- See Also:
QualityHome
,
QualityImpl
Method Summary |
int |
getDegree()
Get the value of degree |
java.lang.String |
getName()
Get the value of name |
void |
setDegree(int degree)
Set the value of degree |
void |
setName(java.lang.String name)
Set the value of name |
Methods inherited from interface com.sun.java.util.collections.Comparable |
compareTo |
getName
public java.lang.String getName()
- Get the value of name
- Returns:
- name.
setName
public void setName(java.lang.String name)
- Set the value of name
- Parameters:
names
- name to be added
getDegree
public int getDegree()
- Get the value of degree
- Returns:
- degree.
setDegree
public void setDegree(int degree)
- Set the value of degree
- Parameters:
degrees
- degree to be added
Copyright © 2000 BEA Systems, Inc. All Rights Reserved