|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rubecula.util.Item
com.rubecula.jquantity.Compound
Class
Field Summary | |
private boolean |
_Constant
|
Fields inherited from class com.rubecula.util.Item |
JQUANTITY_TEST |
Constructor Summary | |
Compound()
|
Method Summary | |
java.lang.String |
audit(java.lang.String label)
Method to return a detailed string from an object for debugging purposes. |
java.lang.String |
getIdentifier()
Method to get the specific identifier for an object. |
boolean |
isMutable()
This method indicates whether this particular instance is mutable, i.e. it has not been designated a constant. |
static void |
main(java.lang.String[] args)
|
Presentable |
makePresentableInstance(Presentation presentation)
Instance method to convert a Presentation into a Presentable. |
Presentation |
present(AttrMap attributes)
Convert this Presentable object into a Presentation, according to the set of attributes provided. |
Mutable |
setConstant()
This method sets this instance to be a constant, i.e. immutable. |
void |
setIdentifier(java.lang.String identifier)
Method to set a specific identifier to an object. |
Methods inherited from class com.rubecula.util.Item |
audit, audit, compareTo, Debug, getClassNameShort, getType, IsDebug, present, SetDebug, test, test, toString, Wrap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.rubecula.jquantity.Divisible |
factored, inverse, quotient |
Methods inherited from interface com.rubecula.jquantity.Normalizable |
isNormal, normalize |
Methods inherited from interface com.rubecula.util.Auditable |
audit, audit |
Methods inherited from interface com.rubecula.jquantity.CompoundModel |
getDimensions, getElement, setElement |
Field Detail |
private boolean _Constant
Constructor Detail |
public Compound()
Method Detail |
public boolean isMutable()
Mutable
isMutable
in interface Mutable
public Mutable setConstant()
Mutable
setConstant
in interface Mutable
public void setIdentifier(java.lang.String identifier)
Nameable
setIdentifier
in interface Nameable
identifier
- the identifier to associate with the object.public java.lang.String getIdentifier()
Identifiable
getIdentifier
in interface Identifiable
public java.lang.String audit(java.lang.String label)
Auditable
audit
in interface Auditable
label
- the label to associate with the data.
If label is non-null, a more detailed audit will be returned (this
normally occurs only at the top level).
public Presentation present(AttrMap attributes) throws PresentationException
Presentable
present
in interface Presentable
attributes
- a map of the attributes desired for the construction
of the new presentation (may be empty).
PresentationException
- in case of parsing error.public Presentable makePresentableInstance(Presentation presentation) throws PresentationException
Presentable
makePresentableInstance
in interface Presentable
presentation
- of a number to be converted into a Presentable number.
PresentationException
- in case of parsing error.public static void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |