Nengo.ca

ca.nengo.config
Interface Property

All Known Subinterfaces:
ListProperty, NamedValueProperty, SingleValuedProperty
All Known Implementing Classes:
AbstractProperty, ListPropertyImpl, NamedValuePropertyImpl, SingleValuedPropertyImpl, TemplateArrayProperty, TemplateProperty

public interface Property

An element of a Configuration; wraps some property of an object (eg a bean-pattern property).


Method Summary
 java.lang.String getDocumentation()
           
 java.lang.String getName()
           
 java.lang.Class<?> getType()
           
 boolean isFixedCardinality()
           
 boolean isMutable()
           
 void setName(java.lang.String name)
           
 

Method Detail

getName

java.lang.String getName()
Returns:
Property name

setName

void setName(java.lang.String name)
Parameters:
name - New Property name

getType

java.lang.Class<?> getType()
Returns:
Class to which values belong

isMutable

boolean isMutable()
Returns:
True if values can be changed after construction of the Configurable

isFixedCardinality

boolean isFixedCardinality()
Returns:
True if the property has a fixed number of values

getDocumentation

java.lang.String getDocumentation()
Returns:
Text describing the property semantics (plain text or HTML)

Nengo.ca