public abstract class ByteValueSemanticsProviderAbstract extends ValueSemanticsProviderAndFacetAbstract<Byte> implements ByteValueFacet
ValueSemanticsProviderAndFacetAbstract.EqualByContent, ValueSemanticsProviderAndFacetAbstract.ImmutabilityFacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.Validating| Constructor and Description |
|---|
ByteValueSemanticsProviderAbstract(FacetHolder holder,
Class<Byte> adaptedClass,
IsisConfiguration configuration,
ValueSemanticsProviderContext context) |
| Modifier and Type | Method and Description |
|---|---|
Byte |
byteValue(ObjectAdapter object) |
ObjectAdapter |
createValue(Byte value) |
String |
doEncode(Object object)
Hook method to perform the actual encoding.
|
protected Byte |
doParse(Object context,
String entry) |
protected Byte |
doRestore(String data)
Hook method to perform the actual restoring.
|
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, waitalwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetpublic ByteValueSemanticsProviderAbstract(FacetHolder holder, Class<Byte> adaptedClass, IsisConfiguration configuration, ValueSemanticsProviderContext context)
protected Byte doParse(Object context, String entry)
doParse in class ValueSemanticsProviderAndFacetAbstract<Byte>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<Byte>public String doEncode(Object object)
ValueSemanticsProviderAndFacetAbstractdoEncode in class ValueSemanticsProviderAndFacetAbstract<Byte>protected Byte doRestore(String data)
ValueSemanticsProviderAndFacetAbstractdoRestore in class ValueSemanticsProviderAndFacetAbstract<Byte>public String titleStringWithMask(Object value, String usingMask)
titleStringWithMask in class ValueSemanticsProviderAndFacetAbstract<Byte>public Byte byteValue(ObjectAdapter object)
byteValue in interface ByteValueFacetpublic ObjectAdapter createValue(Byte value)
createValue in interface ByteValueFacetpublic String toString()
toString in class FacetAbstractCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.