SettingDto

public class SettingDto implements Pair<String, Object>

The SettingDto contains information about a single setting inside a field.

Constructors

SettingDto

public SettingDto()

SettingDto

public SettingDto(String name, Object value)

SettingDto

public SettingDto(String name, Object value, TypeDto type, SettingOptions... options)

Methods

copy

public SettingDto copy()

equals

public boolean equals(Object obj)

{@inheritDoc}

getKey

public String getKey()

getName

public String getName()

getOptions

public List<SettingOptions> getOptions()

getType

public TypeDto getType()

getValue

public Object getValue()

getValueAsString

public String getValueAsString()

hashCode

public int hashCode()

{@inheritDoc}

setName

public void setName(String name)

setOptions

public void setOptions(List<SettingOptions> options)

setType

public void setType(TypeDto type)

setValue

public void setValue(Object value)

toString

public String toString()

{@inheritDoc}