Package io.ran
Class Property<T>
java.lang.Object
io.ran.Property<T>
- Type Parameters:
- T- The class of the property
Holds details about a property of a class.
 For example, we have class 'Employee' with field 'name' of type String, then
 the property.token is 'name'
 the property.on is 'Employee'
 the property.type is 'String'
 see io.ran.Clazz#getFields(boolean)
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classProperty.NumberValue<V extends Number>static classstatic classstatic class
- 
Method SummaryModifier and TypeMethodDescriptionvoidcopy()booleanstatic <T> Property<T>get()Creates a new property without name or typestatic <T> Property<T>Creates a new property with name, but without typestatic <T> Property<T>Creates a new property with name and typestatic <T> Property<T>Creates a new property with name and typegetKeys()Clazz<?>getOn()Returns class that owns this propertygetToken()Return property namegetType()inthashCode()static Property.PropertyListlist()static Property.PropertyListbooleanmatchesSnakeCase(String snakeCase) voidvalues(Collection<T> values) final Property.PropertyValueList<T>
- 
Method Details- 
getCreates a new property without name or type
- 
getCreates a new property with name, but without type
- 
getCreates a new property with name and type
- 
getCreates a new property with name and type
- 
getTokenReturn property name
- 
getType- Returns:
- the type of the property, or null if this is not set
 
- 
value
- 
values
- 
values
- 
list
- 
list
- 
addKey
- 
getKeys
- 
getOnReturns class that owns this property
- 
setOn
- 
matchesSnakeCase
- 
getSnakeCase
- 
equals
- 
hashCodepublic int hashCode()
- 
setToken
- 
copy
- 
getAnnotations
 
-