java.lang.Object
iu.type.ElementBase
iu.type.PropertyFacade<D,T>
- Type Parameters:
D- declaring typeT- property type
- All Implemented Interfaces:
IuAnnotatedElement,IuAttribute<D,,T> IuDeclaredElement<D>,IuNamedElement<D>,IuProperty<D,,T> DeclaredAttribute<D,T>
final class PropertyFacade<D,T>
extends ElementBase
implements IuProperty<D,T>, DeclaredAttribute<D,T>
Facade implementation of
IuProperty.-
Constructor Summary
ConstructorsConstructorDescriptionPropertyFacade(PropertyDescriptor propertyDescriptor, TypeTemplate<?, T> typeTemplate, TypeTemplate<?, D> declaringTypeTemplate) Facade constructor. -
Method Summary
Modifier and TypeMethodDescriptionTypeFacade<?, D> Gets the declaring type.Gets the attribute value.name()Gets the name.read()Gets a facade describing the property read method.voidGets the attribute value.toString()TypeFacade<?, T> type()Gets the type.write()Gets a facade describing the property write method.Methods inherited from class iu.type.ElementBase
checkSealed, postInit, sealMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface edu.iu.type.IuAnnotatedElement
permittedMethods inherited from interface edu.iu.type.IuProperty
annotation, annotations, canRead, canWrite, hasAnnotation, permitted, printSafe, serializable
-
Constructor Details
-
PropertyFacade
PropertyFacade(PropertyDescriptor propertyDescriptor, TypeTemplate<?, T> typeTemplate, TypeTemplate<?, D> declaringTypeTemplate) Facade constructor.- Parameters:
propertyDescriptor- property descriptortypeTemplate- fully realizedTypeTemplatefor a generic type whose erasure is the property typedeclaringTypeTemplate- fully realizedTypeTemplatefor a generic type whose erasure declared the property
-
-
Method Details
-
name
Description copied from interface:IuNamedElementGets the name.- Specified by:
namein interfaceIuNamedElement<D>- Returns:
- name
-
type
Description copied from interface:IuAttributeGets the type.- Specified by:
typein interfaceDeclaredAttribute<D,T> - Specified by:
typein interfaceIuAttribute<D,T> - Returns:
- type
-
declaringType
Description copied from interface:IuDeclaredElementGets the declaring type.- Specified by:
declaringTypein interfaceDeclaredAttribute<D,T> - Specified by:
declaringTypein interfaceIuDeclaredElement<D>- Returns:
- declaring type
-
read
Description copied from interface:IuPropertyGets a facade describing the property read method.- Specified by:
readin interfaceIuProperty<D,T> - Returns:
- read method facade
-
write
Description copied from interface:IuPropertyGets a facade describing the property write method.- Specified by:
writein interfaceIuProperty<D,T> - Returns:
- write method facade
-
get
Description copied from interface:IuAttributeGets the attribute value.- Specified by:
getin interfaceIuAttribute<D,T> - Parameters:
o- object- Returns:
- attribute value.
-
set
Description copied from interface:IuAttributeGets the attribute value.- Specified by:
setin interfaceIuAttribute<D,T> - Parameters:
o- objectvalue- attribute value
-
toString
-