public interface SingleValuedProperty extends Property
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getValue() |
void |
setValue(java.lang.Object value) |
getDocumentation, getName, getType, isFixedCardinality, isMutable, setName
java.lang.Object getValue()
void setValue(java.lang.Object value) throws StructuralException
value
- New value (for single-valued properties) or first value (for multi-valued properties)StructuralException
- if the given value is not one of the allowed classes, or if the
Configurable rejects it for any other reason (eg inconsistency with other properties)