Interface BindingMember
- All Known Implementing Classes:
DefaultBindingMember
public interface BindingMember
A member in the binding chain.
- Author:
- harald
-
Method Summary
Modifier and TypeMethodDescriptiongetField()Gets the bound field.getFrom()Gets the "from"-method.
Members of immutable objects may provide a from method that takes the new member value as its argument and returns a new immutable object that will be set as the parent member's value.Gets the generic type of the member.Gets the getter method.Gets the declared name of this member.Gets the member path.Gets the object of this element.Class<?> Gets the parent class of this member.
This is the class in which this member is declared.Gets the parent's member.Gets the setter method.Class<?> getType()Gets the type of the field.booleanReturns whether member is read only.Sets the object of this member.
-
Method Details
-
getParentClass
Class<?> getParentClass()Gets the parent class of this member.
This is the class in which this member is declared.- Returns:
- the declaring parent class
-
getParentMember
BindingMember getParentMember()Gets the parent's member.- Returns:
- the parent member, null if container root
-
getMemberName
-
getMemberPath
-
getField
-
getGetter
-
getSetter
-
getFrom
Method getFrom()Gets the "from"-method.
Members of immutable objects may provide a from method that takes the new member value as its argument and returns a new immutable object that will be set as the parent member's value.- Returns:
- the "from"-method, null if none
-
isReadOnly
boolean isReadOnly()Returns whether member is read only.- Returns:
- true if readonly
-
getObject
-
setObject
-
getType
-
getGenericType
-