Last change
on this file since 193 was
193,
checked in by Maciej Komosinski, 10 years ago
|
Set svn:eol-style native for all textual files
|
-
Property svn:eol-style set to
native
|
File size:
587 bytes
|
Line | |
---|
1 | package com.framsticks.params; |
---|
2 | |
---|
3 | import javax.annotation.concurrent.Immutable; |
---|
4 | |
---|
5 | /** |
---|
6 | * @author Piotr Sniegowski |
---|
7 | */ |
---|
8 | @Immutable |
---|
9 | public abstract class ValueParam extends Param { |
---|
10 | |
---|
11 | /** |
---|
12 | * @param builder |
---|
13 | */ |
---|
14 | public ValueParam(ParamBuilder builder) { |
---|
15 | super(builder); |
---|
16 | } |
---|
17 | |
---|
18 | public ReassignResult<?> reassign(Object newValue, Object oldValue) throws CastFailure { |
---|
19 | throw new CastFailure(); |
---|
20 | } |
---|
21 | |
---|
22 | public abstract <T> T getDef(Class<T> type); |
---|
23 | |
---|
24 | public abstract Class<?> getStorageType(); |
---|
25 | |
---|
26 | public boolean isNumeric() { |
---|
27 | return false; |
---|
28 | } |
---|
29 | |
---|
30 | // public abstract <T> String serialize(T value); |
---|
31 | |
---|
32 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.