pl.edu.agh.cast.importer.base.util
Class ConversionRuleInfo

java.lang.Object
  extended by pl.edu.agh.cast.importer.base.util.ConversionRuleInfo
All Implemented Interfaces:
Comparable<ConversionRuleInfo>

public class ConversionRuleInfo
extends Object
implements Comparable<ConversionRuleInfo>

Holds and maintains the information about a specific conversion rule.

Author:
AGH CAST Team

Constructor Summary
ConversionRuleInfo(String ruleId, String name, Class<?> className)
          The constructor.
ConversionRuleInfo(String ruleId, String name, Class<?> className, String description)
          The default constructor.
 
Method Summary
 int compareTo(ConversionRuleInfo that)
          
 String getDescription()
           
 String getName()
           
 Class<?> getRuleClass()
           
 String getRuleId()
           
 void setDescription(String description)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConversionRuleInfo

public ConversionRuleInfo(String ruleId,
                          String name,
                          Class<?> className,
                          String description)
The default constructor.

Parameters:
ruleId - the rule identifier
name - the rule name
className - the name of the conversion rule class
description - the rule description

ConversionRuleInfo

public ConversionRuleInfo(String ruleId,
                          String name,
                          Class<?> className)
The constructor.

Parameters:
ruleId - the rule identifier
name - the rule name
className - the name of the conversion rule class
Method Detail

compareTo

public int compareTo(ConversionRuleInfo that)

Specified by:
compareTo in interface Comparable<ConversionRuleInfo>
See Also:
Comparable.compareTo(java.lang.Object)

getName

public String getName()

getRuleId

public String getRuleId()

getRuleClass

public Class<?> getRuleClass()

getDescription

public String getDescription()

setDescription

public void setDescription(String description)


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.