public interface ParseableFacet extends MultipleValueFacet
| Modifier and Type | Method and Description |
|---|---|
String |
parseableTitle(ObjectAdapter obj)
A title for the object that is valid but which may be easier to edit than
the title provided by a
TitleFacet. |
ObjectAdapter |
parseTextEntry(ObjectAdapter original,
String text,
org.apache.isis.applib.profiles.Localization localization)
Parses a text entry made by a user and sets the domain object's value.
|
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetObjectAdapter parseTextEntry(ObjectAdapter original, String text, org.apache.isis.applib.profiles.Localization localization)
Equivalent to Parser#parseTextEntry(Object, String), though may be implemented through some other mechanism.
localization - TODOInvalidEntryExceptionTextEntryParseExceptionString parseableTitle(ObjectAdapter obj)
TitleFacet.
The idea here is that the viewer can display a parseable title for an
existing object when, for example, the user initially clicks in the
field. So, a date might be rendered via a TitleFacet as
May 2, 2007, but its parseable form might be 20070502.
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.