Class NullResolverStrategy
java.lang.Object
ch.tocco.nice2.model.base.impl.defaultvalue.NullResolverStrategy
- All Implemented Interfaces:
DefaultValueResolverStrategy
-
Field Summary
Fields inherited from interface ch.tocco.nice2.model.base.spi.defaultvalue.spi.DefaultValueResolverStrategy
CURRENT_PRINCIPAL_VAL, CURRENT_USER_VAL, PRINCIPAL_ENTITY, USER_ENTITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetResolvedValue
(DefaultValueDescriptor defaultValue) Return the display value that is presented to end users.getType()
boolean
isResolvable
(DefaultValueDescriptor descriptor) Checks whether this strategy is capable of resolving the given descriptor.
-
Constructor Details
-
NullResolverStrategy
public NullResolverStrategy()
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceDefaultValueResolverStrategy
-
getResolvedValue
public ResolvedValue getResolvedValue(DefaultValueDescriptor defaultValue) throws ResolvingException Description copied from interface:DefaultValueResolverStrategy
Return the display value that is presented to end users.- Specified by:
getResolvedValue
in interfaceDefaultValueResolverStrategy
- Throws:
ResolvingException
-
isResolvable
Description copied from interface:DefaultValueResolverStrategy
Checks whether this strategy is capable of resolving the given descriptor.- Specified by:
isResolvable
in interfaceDefaultValueResolverStrategy
-