-
public interface Member<T>One element (i.e. item/field/member) of aStruct.- Author:
- Curtis Rueden, Christian Dietz
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StructchildStruct()default MemberInstance<T>createInstance(Object o)default Stringdescription()Non-null description.ItemIOgetIOType()Gets the input/output type of the member.default booleanisInput()Gets whether the member is an input.default booleanisOutput()Gets whether the member is an output.default booleanisRequired()default booleanisStruct()Stringkey()Unique name of the member.default Class<T>rawType()Typetype()Gets the type of the member, including Java generic parameters.
-
-
-
Method Detail
-
key
String key()
Unique name of the member.
-
description
default String description()
Non-null description. The default description is an empty string
-
type
Type type()
Gets the type of the member, including Java generic parameters.- See Also:
Field.getGenericType()
-
getIOType
ItemIO getIOType()
Gets the input/output type of the member.
-
isInput
default boolean isInput()
Gets whether the member is an input.
-
isOutput
default boolean isOutput()
Gets whether the member is an output.
-
isStruct
default boolean isStruct()
-
isRequired
default boolean isRequired()
-
childStruct
default Struct childStruct()
-
createInstance
default MemberInstance<T> createInstance(Object o)
-
-