public class EditionBean
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Constructor and Description |
---|
EditionBean()
Create empty edition bean.
|
EditionBean(boolean minimum,
java.util.List<java.lang.String> editionList)
Create edition bean.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object.
|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
java.util.List<java.lang.String> |
getEditionList()
Return a editionList.
|
int |
hashCode()
Returns a hash code value for the object.
|
boolean |
isMinimum()
Return a minimum.
|
void |
setEditionList(java.util.List<java.lang.String> editionList)
Set a editionList.
|
void |
setMinimum(boolean minimum)
Set a minimum.
|
public EditionBean()
public EditionBean(boolean minimum, java.util.List<java.lang.String> editionList)
minimum
- minimum flageditionList
- edition list.public boolean isMinimum()
public void setMinimum(boolean minimum)
minimum
- the minimum to setpublic java.util.List<java.lang.String> getEditionList()
public void setEditionList(java.util.List<java.lang.String> editionList)
editionList
- the editionList to setpublic int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the reference object with which to compare.true
if this object is the same as the obj argument; false
otherwise.Object.equals(java.lang.Object)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if the object's class does not support the Cloneable
interface. Subclasses that override the clone
method can also throw this
exception to indicate that an instance cannot be cloned.Cloneable