public class StateModel extends Object implements org.qi4j.api.composite.StateDescriptor, org.qi4j.functional.VisitableHierarchy<Object,Object>
Modifier and Type | Field and Description |
---|---|
protected PropertiesModel |
propertiesModel |
Constructor and Description |
---|
StateModel(PropertiesModel propertiesModel) |
Modifier and Type | Method and Description |
---|---|
<ThrowableType extends Throwable> |
accept(org.qi4j.functional.HierarchicalVisitor<? super Object,? super Object,ThrowableType> visitor) |
PropertyModel |
findPropertyModelByName(String name) |
PropertyModel |
findPropertyModelByQualifiedName(org.qi4j.api.common.QualifiedName name) |
Iterable<PropertyModel> |
properties() |
PropertyModel |
propertyModelFor(AccessibleObject accessor) |
protected final PropertiesModel propertiesModel
public StateModel(PropertiesModel propertiesModel)
public PropertyModel propertyModelFor(AccessibleObject accessor)
public PropertyModel findPropertyModelByName(String name) throws IllegalArgumentException
findPropertyModelByName
in interface org.qi4j.api.composite.StateDescriptor
IllegalArgumentException
public PropertyModel findPropertyModelByQualifiedName(org.qi4j.api.common.QualifiedName name) throws IllegalArgumentException
findPropertyModelByQualifiedName
in interface org.qi4j.api.composite.StateDescriptor
IllegalArgumentException
public Iterable<PropertyModel> properties()
properties
in interface org.qi4j.api.composite.StateDescriptor