org.treebind
Class ComplexProperty

java.lang.Object
  extended byorg.treebind.DefaultPropertyImplementation
      extended byorg.treebind.ComplexProperty
All Implemented Interfaces:
Property

public class ComplexProperty
extends DefaultPropertyImplementation
implements Property

Property with sub-properties and no value. Properties are either leaf or complex. This is the implementation of complex properties.

Author:
Eric van der Vlist
See Also:
Property, LeafProperty

Constructor Summary
ComplexProperty(Name role, Name nature)
          Create a new complex property with its role and nature
 
Method Summary
 void setValue(java.lang.Object value)
          Sets the value of a propety (for LeafProperty only).
 
Methods inherited from class org.treebind.DefaultPropertyImplementation
addProperty, addProperty, getNature, getProperties, getPropertiesWithNature, getPropertiesWithRole, getPropertiesWithRoleAndNature, getRole, getValue, nbProperties, setNature, setRole
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.treebind.Property
addProperty, addProperty, getNature, getProperties, getPropertiesWithNature, getPropertiesWithRole, getPropertiesWithRoleAndNature, getRole, getValue, nbProperties, setNature, setRole
 

Constructor Detail

ComplexProperty

public ComplexProperty(Name role,
                       Name nature)
Create a new complex property with its role and nature

Parameters:
role -
nature -
Method Detail

setValue

public void setValue(java.lang.Object value)
              throws NotImplementedException
Description copied from interface: Property
Sets the value of a propety (for LeafProperty only).

Specified by:
setValue in interface Property
Overrides:
setValue in class DefaultPropertyImplementation
Throws:
NotImplementedException