O - owning JavaType typepublic interface PropertyHolder<O extends JavaType<O>> extends MethodHolder<O>, FieldHolder<O>, InterfaceCapable
JavaType that may contain property definitions.| Modifier and Type | Method and Description |
|---|---|
List<? extends Property<O>> |
getProperties()
Get a list of all
Properties declared by this O, or return an empty list if no
Properties are declared. |
List<? extends Property<O>> |
getProperties(Class<?> type)
Get a list of all
Properties declared by this O with the given type,
or return an empty list if no matching Properties are declared. |
Property<O> |
getProperty(String name)
Get the
Property with the given name and return it, otherwise, return null. |
boolean |
hasProperty(Property<O> property)
Return whether or not this
O declares the given Property instance. |
boolean |
hasProperty(String name)
Return whether or not this
O declares a Property with the given name. |
getMethod, getMethod, getMethod, getMethods, hasMethod, hasMethodSignature, hasMethodSignature, hasMethodSignature, hasMethodSignaturegetField, getFields, hasField, hasFieldgetMembersgetInterfaces, hasInterface, hasInterface, hasInterfaceboolean hasProperty(String name)
O declares a Property with the given name.boolean hasProperty(Property<O> property)
O declares the given Property instance.Property<O> getProperty(String name)
Property with the given name and return it, otherwise, return null.List<? extends Property<O>> getProperties(Class<?> type)
Properties declared by this O with the given type,
or return an empty list if no matching Properties are declared.List<? extends Property<O>> getProperties()
Properties declared by this O, or return an empty list if no
Properties are declared.Copyright © 2017 JBoss by Red Hat. All rights reserved.