- Timestamp:
- 06/22/13 21:51:33 (11 years ago)
- Location:
- java/main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
java/main
-
Property
svn:ignore
set to
target
-
Property
svn:ignore
set to
-
java/main/src/main/java/com/framsticks/params/types/ObjectParam.java
r77 r84 3 3 import com.framsticks.params.AccessInterface; 4 4 import com.framsticks.params.CastFailure; 5 import com.framsticks.params.CompositeParam; 6 import com.framsticks.params.ReassignResult; 5 7 6 8 /** … … 13 15 } 14 16 15 16 17 18 17 @Override 18 public String computeAccessId() { 19 return containedTypeName; 20 } 19 21 20 21 public Class getStorageType() {22 @Override 23 public Class<?> getStorageType() { 22 24 return Object.class; 23 25 } 24 26 25 27 @Override 26 public boolean isEmptyAvailable(){27 return true;28 public ReassignResult<Object> reassign(Object newValue, Object oldValue) throws CastFailure { 29 return ReassignResult.create(newValue); 28 30 } 29 31 30 32 @Override 31 public Object reassign(Object newValue, Object oldValue) throws CastFailure{32 return newValue;33 public AccessInterface prepareAccessInterface(AccessInterface access) { 34 return access; 33 35 } 34 36 35 @Override 36 public AccessInterface prepareAccessInterface(AccessInterface access) { 37 return access; 38 } 39 40 @Override 41 public String getType() { 42 return "o " + containedTypeName; 43 } 44 45 46 37 @Override 38 public String getFramsTypeName() { 39 return "o " + containedTypeName; 40 } 47 41 48 42 }
Note: See TracChangeset
for help on using the changeset viewer.