org.apache.jetspeed.rewriter.rules.impl
Class AttributeImpl

java.lang.Object
  extended by org.apache.jetspeed.rewriter.rules.impl.IdentifiedImpl
      extended by org.apache.jetspeed.rewriter.rules.impl.AttributeImpl
All Implemented Interfaces:
Attribute, Identified

public class AttributeImpl
extends IdentifiedImpl
implements Attribute

Attribute

Version:
$Id: AttributeImpl.java 516448 2007-03-09 16:25:47Z ate $
Author:
David Sean Taylor

Field Summary
private  Rule rule
           
private  String ruleId
           
 
Fields inherited from class org.apache.jetspeed.rewriter.rules.impl.IdentifiedImpl
id
 
Constructor Summary
AttributeImpl()
           
 
Method Summary
 Rule getRule()
          Get the rewriter rule associated with this attribute.
 String getRuleId()
          Castor accessor to get the rule id.
 void setId(String id)
          Set the unique identification string for this rule.
 void setRule(Rule rule)
          Set the rewriter rule associated with this attribute.
 void setRuleId(String ruleId)
          Castor setter to set the rule id.
 
Methods inherited from class org.apache.jetspeed.rewriter.rules.impl.IdentifiedImpl
getId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jetspeed.rewriter.rules.Identified
getId
 

Field Detail

rule

private Rule rule

ruleId

private String ruleId
Constructor Detail

AttributeImpl

public AttributeImpl()
Method Detail

setId

public void setId(String id)
Description copied from interface: Identified
Set the unique identification string for this rule.

Specified by:
setId in interface Identified
Overrides:
setId in class IdentifiedImpl
Parameters:
id - the unique identifier of the rule

getRule

public Rule getRule()
Description copied from interface: Attribute
Get the rewriter rule associated with this attribute.

Specified by:
getRule in interface Attribute
Returns:
The rewriter rule.

setRule

public void setRule(Rule rule)
Description copied from interface: Attribute
Set the rewriter rule associated with this attribute.

Specified by:
setRule in interface Attribute
Parameters:
rule - The rewriter rule.

setRuleId

public void setRuleId(String ruleId)
Castor setter to set the rule id.

Parameters:
ruleId - The rule identifier.

getRuleId

public String getRuleId()
Castor accessor to get the rule id.

Returns:
The rule identifier.


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.