be.destin.skos.core
Class Count

java.lang.Object
  extended by be.destin.skos.core.Count

public class Count
extends java.lang.Object


Constructor Summary
Count()
           
Count(Count template)
           
Count(java.lang.String key, int value, java.lang.String category, boolean isPure)
           
 
Method Summary
 java.lang.String getCategory()
           
 int getCount()
           
 java.lang.String getRole()
           
 boolean isPure()
           
 void mergeCategory(Count newCount)
           
 void setCategory(java.lang.String key)
           
 void setCount(int value)
           
 void setPure(boolean pure)
           
 void setRole(java.lang.String key)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Count

public Count()

Count

public Count(Count template)

Count

public Count(java.lang.String key,
             int value,
             java.lang.String category,
             boolean isPure)
Method Detail

getCount

public int getCount()
Returns:
the value

getRole

public java.lang.String getRole()
Returns:
the key

getCategory

public java.lang.String getCategory()
Returns:
the key

setCount

public void setCount(int value)
Parameters:
value - the value to set

setRole

public void setRole(java.lang.String key)
Parameters:
key - the key to set

setCategory

public void setCategory(java.lang.String key)
Parameters:
key - the key to set

mergeCategory

public void mergeCategory(Count newCount)

toString

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

isPure

public boolean isPure()
Returns:
the pure

setPure

public void setPure(boolean pure)
Parameters:
pure - the pure to set