org.apache.tapestry.spec
Class InjectSpecificationImpl

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.spec.InjectSpecificationImpl
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, InjectSpecification

public class InjectSpecificationImpl
extends org.apache.hivemind.impl.BaseLocatable
implements InjectSpecification

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
InjectSpecificationImpl()
           
 
Method Summary
 String getObject()
          Returns the string used to indentify a particular object.
 String getProperty()
          Returns the name of the property to be created.
 String getType()
          Returns the type of injection.
 void setObject(String object)
           
 void setProperty(String name)
           
 void setType(String type)
           
 
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.LocationHolder
setLocation
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Constructor Detail

InjectSpecificationImpl

public InjectSpecificationImpl()
Method Detail

getObject

public String getObject()
Description copied from interface: InjectSpecification
Returns the string used to indentify a particular object.

Specified by:
getObject in interface InjectSpecification

setObject

public void setObject(String object)
Specified by:
setObject in interface InjectSpecification

getProperty

public String getProperty()
Description copied from interface: InjectSpecification
Returns the name of the property to be created.

Specified by:
getProperty in interface InjectSpecification

setProperty

public void setProperty(String name)
Specified by:
setProperty in interface InjectSpecification

getType

public String getType()
Description copied from interface: InjectSpecification
Returns the type of injection. Different injection types interpret the object property differently. Ultimately, the type is used to select the correct InjectEnhancementWorker.

Specified by:
getType in interface InjectSpecification

setType

public void setType(String type)
Specified by:
setType in interface InjectSpecification


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.