de.glossmaker.gloss.datastructure
Class GlossItem
java.lang.Object
de.glossmaker.gloss.datastructure.GlossItem
- All Implemented Interfaces:
- IGlossItem, IItem, Comparable<GlossItem>
public class GlossItem
- extends Object
- implements IGlossItem, Comparable<GlossItem>
- Author:
- Markus Flingelli
GlossItem
public GlossItem(String key,
String heading,
String word,
String definition)
getKey
public String getKey()
- Specified by:
getKey
in interface IGlossItem
- Specified by:
getKey
in interface IItem
setKey
public void setKey(String key)
- Specified by:
setKey
in interface IGlossItem
getWord
public String getWord()
- Specified by:
getWord
in interface IGlossItem
setWord
public void setWord(String word)
- Specified by:
setWord
in interface IGlossItem
getDefinition
public String getDefinition()
- Specified by:
getDefinition
in interface IGlossItem
setDefinition
public void setDefinition(String definition)
- Specified by:
setDefinition
in interface IGlossItem
getHeading
public String getHeading()
- Specified by:
getHeading
in interface IGlossItem
setHeading
public void setHeading(String heading)
- Specified by:
setHeading
in interface IGlossItem
getOperation
public EOperation getOperation()
setOperation
public void setOperation(EOperation operation)
clone
protected GlossItem clone()
- Overrides:
clone
in class Object
equals
public boolean equals(Object item)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
cloneItem
public IItem cloneItem()
- Specified by:
cloneItem
in interface IItem
compareTo
public int compareTo(GlossItem item)
- Specified by:
compareTo
in interface Comparable<GlossItem>
Copyright © 2010 - 2011 Markus Flingelli. All Rights Reserved.