java.lang.Object
org.apache.hivemind.impl.BaseLocatable
org.apache.hivemind.schema.rules.BaseRule
org.apache.hivemind.schema.rules.SetParentRule
- All Implemented Interfaces:
- org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, org.apache.hivemind.schema.Rule
- public class SetParentRule
- extends BaseRule
Used to set a property of the child object to its parent object. The child object is the top
object on the org.apache.hivemind.schema.SchemaProcessor stack, the parent object is the
next object in. Created from the <set-parent>
element.
Fields inherited from class org.apache.hivemind.impl.BaseLocatable |
|
Methods inherited from class org.apache.hivemind.schema.rules.BaseRule |
end |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_propertyName
private java.lang.String _propertyName
SetParentRule
public SetParentRule()
getPropertyName
public java.lang.String getPropertyName()
- Since:
- 1.1
setPropertyName
public void setPropertyName(java.lang.String string)
begin
public void begin(org.apache.hivemind.schema.SchemaProcessor processor,
org.apache.hivemind.Element element)
- Description copied from class:
BaseRule
- Does nothing; subclasses may override.
- Specified by:
begin
in interface org.apache.hivemind.schema.Rule
- Overrides:
begin
in class BaseRule