source: java/main/src/main/java/com/framsticks/params/ValueParam.java @ 193

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 
1package com.framsticks.params;
2
3import javax.annotation.concurrent.Immutable;
4
5/**
6 * @author Piotr Sniegowski
7 */
8@Immutable
9public 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.