Package com.jscape.util.reflection.types
Class PropertySheet
- java.lang.Object
-
- com.jscape.util.reflection.FieldType
-
- com.jscape.util.reflection.types.PropertySheet
-
public class PropertySheet extends FieldType
- Author:
- Roman Sheshunov
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPropertySheet.Typestatic interfacePropertySheet.ValueType
-
Field Summary
Fields Modifier and Type Field Description java.util.Map<java.lang.String,java.lang.Object>defaultValuejava.util.Set<PropertySheet.ValueType>valueTypes
-
Constructor Summary
Constructors Constructor Description PropertySheet()PropertySheet(java.util.Map<java.lang.String,java.lang.Object> defaultValue, PropertySheet.ValueType... valueTypes)Creates new instance with default value and types.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getDefaultValue()Returns field default value.java.util.Set<PropertySheet.ValueType>getValueTypes()Returns available value typesjava.lang.StringtoString()
-
-
-
Field Detail
-
defaultValue
public final java.util.Map<java.lang.String,java.lang.Object> defaultValue
-
valueTypes
public final java.util.Set<PropertySheet.ValueType> valueTypes
-
-
Constructor Detail
-
PropertySheet
public PropertySheet(java.util.Map<java.lang.String,java.lang.Object> defaultValue, PropertySheet.ValueType... valueTypes)Creates new instance with default value and types.- Parameters:
defaultValue- the default valuevalueTypes- available value types
-
PropertySheet
public PropertySheet()
-
-
Method Detail
-
getDefaultValue
public java.util.Map<java.lang.String,java.lang.Object> getDefaultValue()
Returns field default value.- Returns:
- the default value
-
getValueTypes
public java.util.Set<PropertySheet.ValueType> getValueTypes()
Returns available value types- Returns:
- value types
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-