public abstract class LongValueSemanticsProviderAbstract extends ValueSemanticsProviderAndFacetAbstract<Long> implements LongValueFacet
ValueSemanticsProviderAndFacetAbstract.EqualByContent, ValueSemanticsProviderAndFacetAbstract.ImmutabilityFacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.Validating| Constructor and Description |
|---|
LongValueSemanticsProviderAbstract(FacetHolder holder,
Class<Long> adaptedClass,
IsisConfiguration configuration,
ValueSemanticsProviderContext context) |
| Modifier and Type | Method and Description |
|---|---|
ObjectAdapter |
createValue(Long value) |
protected String |
doEncode(Object object)
Hook method to perform the actual encoding.
|
protected Long |
doParse(Object context,
String entry) |
protected Long |
doRestore(String data)
Hook method to perform the actual restoring.
|
Long |
longValue(ObjectAdapter object) |
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() |
static Class<? extends Facet> |
type() |
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 LongValueSemanticsProviderAbstract(FacetHolder holder, Class<Long> adaptedClass, IsisConfiguration configuration, ValueSemanticsProviderContext context)
protected Long doParse(Object context, String entry)
doParse in class ValueSemanticsProviderAndFacetAbstract<Long>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<Long>public String titleStringWithMask(Object value, String usingMask)
titleStringWithMask in class ValueSemanticsProviderAndFacetAbstract<Long>protected String doEncode(Object object)
ValueSemanticsProviderAndFacetAbstractdoEncode in class ValueSemanticsProviderAndFacetAbstract<Long>protected Long doRestore(String data)
ValueSemanticsProviderAndFacetAbstractdoRestore in class ValueSemanticsProviderAndFacetAbstract<Long>public Long longValue(ObjectAdapter object)
longValue in interface LongValueFacetpublic ObjectAdapter createValue(Long value)
createValue in interface LongValueFacetpublic String toString()
toString in class FacetAbstractCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.