com.rapidminer.example
Class AttributeRole

java.lang.Object
  extended by com.rapidminer.example.AttributeRole
All Implemented Interfaces:
java.io.Serializable

public class AttributeRole
extends java.lang.Object
implements java.io.Serializable

This class holds the example set relevant information about a table attribute, i.e. its role (either regular or special). If the described attribute is a special attribute, this class also contains the corresponding special attribute name.

Author:
Ingo Mierswa
See Also:
Serialized Form

Constructor Summary
AttributeRole(Attribute attribute)
           
 
Method Summary
protected  void addOwner(Attributes attributes)
          This method must not be called except by the Attributes to which this AttributeRole is added.
 void changeToRegular()
           
 java.lang.Object clone()
          Performs a deep clone of the special fields but only a shallow clone of the attribute.
 Attribute getAttribute()
           
 java.lang.String getSpecialName()
           
 boolean isSpecial()
           
 java.lang.Object readResolve()
           
protected  void removeOwner(Attributes attributes)
          This method must not be called except by the Attributes to which this AttributeRole is added.
 void setAttribute(Attribute attribute)
           
 void setSpecial(java.lang.String specialName)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeRole

public AttributeRole(Attribute attribute)
Method Detail

readResolve

public java.lang.Object readResolve()

clone

public java.lang.Object clone()
Performs a deep clone of the special fields but only a shallow clone of the attribute.

Overrides:
clone in class java.lang.Object

addOwner

protected void addOwner(Attributes attributes)
This method must not be called except by the Attributes to which this AttributeRole is added.


removeOwner

protected void removeOwner(Attributes attributes)
This method must not be called except by the Attributes to which this AttributeRole is added.


getAttribute

public Attribute getAttribute()

setAttribute

public void setAttribute(Attribute attribute)

isSpecial

public boolean isSpecial()

getSpecialName

public java.lang.String getSpecialName()

setSpecial

public void setSpecial(java.lang.String specialName)

changeToRegular

public void changeToRegular()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2009 by Rapid-I