|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.applib.adapters.AbstractValueSemanticsProvider<T>
public abstract class AbstractValueSemanticsProvider<T>
| Constructor Summary | |
|---|---|
AbstractValueSemanticsProvider()
Defaults isImmutable() to true and isEqualByContent() to true
also. |
|
AbstractValueSemanticsProvider(boolean immutable,
boolean equalByContent)
|
|
| Method Summary | |
|---|---|
DefaultsProvider<T> |
getDefaultsProvider()
The DefaultsProvider, if any. |
EncoderDecoder<T> |
getEncoderDecoder()
The EncoderDecoder, if any. |
Parser<T> |
getParser()
The Parser, if any. |
boolean |
isEqualByContent()
Defaults to true if no-arg constructor is used. |
boolean |
isImmutable()
Defaults to true if no-arg constructor is used. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractValueSemanticsProvider()
isImmutable() to true and isEqualByContent() to true
also.
public AbstractValueSemanticsProvider(boolean immutable,
boolean equalByContent)
| Method Detail |
|---|
public EncoderDecoder<T> getEncoderDecoder()
ValueSemanticsProviderEncoderDecoder, if any.
If not null, implies that the value is Encodable.
getEncoderDecoder in interface ValueSemanticsProvider<T>public Parser<T> getParser()
ValueSemanticsProviderParser, if any.
If not null, implies that the value is Parseable.
getParser in interface ValueSemanticsProvider<T>public DefaultsProvider<T> getDefaultsProvider()
ValueSemanticsProviderDefaultsProvider, if any.
If not null, implies that the value has (or may have) a default.
getDefaultsProvider in interface ValueSemanticsProvider<T>public boolean isEqualByContent()
isEqualByContent in interface ValueSemanticsProvider<T>public boolean isImmutable()
isImmutable in interface ValueSemanticsProvider<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||