public abstract class BooleanValueSemanticsProviderAbstract extends ValueSemanticsProviderAndFacetAbstract<Boolean> implements BooleanValueFacet
ValueSemanticsProviderAndFacetAbstract.EqualByContent, ValueSemanticsProviderAndFacetAbstract.ImmutabilityFacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.Validating| Constructor and Description |
|---|
BooleanValueSemanticsProviderAbstract(FacetHolder holder,
Class<Boolean> adaptedClass,
Boolean defaultValue,
IsisConfiguration configuration,
ValueSemanticsProviderContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
doEncode(Object object)
Hook method to perform the actual encoding.
|
protected Boolean |
doParse(Object context,
String entry) |
protected Boolean |
doRestore(String data)
Hook method to perform the actual restoring.
|
boolean |
isSet(ObjectAdapter adapter) |
String |
titleString(Object value,
org.apache.isis.applib.profiles.Localization localization)
Return a string representation of aforesaid object.
|
String |
titleStringWithMask(Object value,
String usingMask) |
String |
toString() |
alwaysReplace, createAdapter, determineNumberFormat, displayTitleOf, displayTitleOf, doParse, fromEncodedString, getAdaptedClass, getAdapterManager, getAuthenticationSessionProvider, getClock, getConfiguration, getContext, getDefaultsProvider, getDefaultValue, getDependencyInjector, getEncoderDecoder, getParser, getSpecification, getSpecificationLookup, isEqualByContent, isImmutable, parseableTitleOf, parseTextEntry, titleString, toEncodedString, typicalLengthfacetType, getFacetHolder, getIdentified, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet, toStringValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreset, set, togglealwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetpublic BooleanValueSemanticsProviderAbstract(FacetHolder holder, Class<Boolean> adaptedClass, Boolean defaultValue, IsisConfiguration configuration, ValueSemanticsProviderContext context)
protected Boolean doParse(Object context, String entry)
doParse in class ValueSemanticsProviderAndFacetAbstract<Boolean>context - - the underlying object, or null.entry - - the proposed new object, as a string representation to be
parsedpublic String titleString(Object value, org.apache.isis.applib.profiles.Localization localization)
ValueSemanticsProviderAndFacetAbstracttitleString in class ValueSemanticsProviderAndFacetAbstract<Boolean>public String titleStringWithMask(Object value, String usingMask)
titleStringWithMask in class ValueSemanticsProviderAndFacetAbstract<Boolean>protected String doEncode(Object object)
ValueSemanticsProviderAndFacetAbstractdoEncode in class ValueSemanticsProviderAndFacetAbstract<Boolean>protected Boolean doRestore(String data)
ValueSemanticsProviderAndFacetAbstractdoRestore in class ValueSemanticsProviderAndFacetAbstract<Boolean>public boolean isSet(ObjectAdapter adapter)
isSet in interface BooleanValueFacetpublic String toString()
toString in class FacetAbstractCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.