Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.hivemind.schema.rules
Class SetPropertyRule  view SetPropertyRule download SetPropertyRule.java

java.lang.Object
  extended byorg.apache.hivemind.impl.BaseLocatable
      extended byorg.apache.hivemind.schema.rules.BaseRule
          extended byorg.apache.hivemind.schema.rules.SetPropertyRule
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, org.apache.hivemind.schema.Rule

public class SetPropertyRule
extends BaseRule

Used to set a property of an object to a literal value.


Field Summary
private  java.lang.String _propertyName
           
private  org.apache.hivemind.schema.Translator _smartTranslator
           
private  java.lang.String _value
           
private static org.apache.commons.logging.Log LOG
           
 
Fields inherited from class org.apache.hivemind.impl.BaseLocatable
 
Constructor Summary
SetPropertyRule()
           
 
Method Summary
 void begin(org.apache.hivemind.schema.SchemaProcessor processor, org.apache.hivemind.Element element)
          Does nothing; subclasses may override.
 java.lang.String getPropertyName()
           
 java.lang.String getValue()
           
 void setPropertyName(java.lang.String string)
           
 void setValue(java.lang.String string)
           
 
Methods inherited from class org.apache.hivemind.schema.rules.BaseRule
end
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Field Detail

LOG

private static final org.apache.commons.logging.Log LOG

_propertyName

private java.lang.String _propertyName

_value

private java.lang.String _value

_smartTranslator

private org.apache.hivemind.schema.Translator _smartTranslator
Constructor Detail

SetPropertyRule

public SetPropertyRule()
Method Detail

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

setPropertyName

public void setPropertyName(java.lang.String string)

setValue

public void setValue(java.lang.String string)

getPropertyName

public java.lang.String getPropertyName()

getValue

public java.lang.String getValue()