be.destin.skos.core
Class Count
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Count
public Count()
Count
public Count(Count template)
Count
public Count(java.lang.String key,
int value,
java.lang.String category,
boolean isPure)
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