public class ViewerOptions extends AbstractObject implements Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected List<Option> |
option |
id, objectSimpleExtension, targetId| Constructor and Description |
|---|
ViewerOptions(List<Option> option)
Value constructor with only mandatory fields
|
| Modifier and Type | Method and Description |
|---|---|
ViewerOptions |
addToObjectSimpleExtension(Object objectSimpleExtension)
add a value to the objectSimpleExtension property collection
|
ViewerOptions |
addToOption(Option option)
add a value to the option property collection
|
ViewerOptions |
clone() |
Option |
createAndAddOption()
Creates a new instance of
Option and adds it to option. |
boolean |
equals(Object obj) |
List<Option> |
getOption() |
int |
hashCode() |
void |
setObjectSimpleExtension(List<Object> objectSimpleExtension) |
void |
setOption(List<Option> option)
Sets the value of the option property Objects of the following type(s) are allowed in the list List
|
getId, getObjectSimpleExtension, getTargetId, setId, setTargetId, withId, withObjectSimpleExtension, withTargetIdpublic int hashCode()
hashCode in class AbstractObjectpublic boolean equals(Object obj)
equals in class AbstractObjectpublic Option createAndAddOption()
Option and adds it to option.
This method is a short version for:
Option option = new Option();
this.getOption().add(option); public void setOption(List<Option> option)
option - public ViewerOptions addToOption(Option option)
option - Objects of the following type are allowed in the list: Optionpublic void setObjectSimpleExtension(List<Object> objectSimpleExtension)
setObjectSimpleExtension in class AbstractObjectobjectSimpleExtensionpublic ViewerOptions addToObjectSimpleExtension(Object objectSimpleExtension)
AbstractObjectaddToObjectSimpleExtension in class AbstractObjectobjectSimpleExtension - Objects of the following type are allowed in the list: Objectpublic ViewerOptions clone()
clone in class AbstractObjectCopyright © 2014 Micromata GmbH. All rights reserved.