Package org.apache.juneau.rest.beans
Class BeanDescription
java.lang.Object
org.apache.juneau.rest.beans.BeanDescription
Simple serializable bean description.
Given a particular class type, this serializes the class into the fully-qualified class name and the properties associated with the class.
Useful for rendering simple information about a bean during REST OPTIONS requests.
See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Information about a bean property. -
Field Summary
Modifier and TypeFieldDescriptionThe bean properties.The bean class type. -
Constructor Summary
-
Method Summary
-
Field Details
-
type
The bean class type. -
properties
The bean properties.
-
-
Constructor Details
-
BeanDescription
Constructor- Parameters:
c
- The bean class type.
-
-
Method Details
-
of
Static creator.- Parameters:
c
- The bean being described.- Returns:
- A new bean description.
-