|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.fatwire.services.beans.BaseBean
com.fatwire.services.beans.asset.basic.template.ArgumentBean
public class ArgumentBean
The ArgumentBean represents an argument associated with a template. A template argument has a name, description and a map of argument values. The template argument values are keys to the map of argument values and the description of the template argument values are values in that map. For example, let there be a template argument called "color" described as "Product color" which can have possible values: ['red', 'blue']. For these values, let the corresponding description be: ["Color: Red", "Color: Blue"]. For such an argument, name is set as "color", description as "Product Color", and the map of argument values is constructed like: {"red"="Color: Red", "blue"="Color: Blue"}.
Constructor Summary | |
---|---|
ArgumentBean() |
Method Summary | |
---|---|
java.lang.String |
getDescription() Returns a description for this template argument. |
java.lang.String |
getName() Returns the name of this template argument. |
java.util.Map<java.lang.String,java.lang.String> |
getValues() Returns a mapping of template argument values and their corresponding description. |
void |
setDescription(java.lang.String description) Sets a description for this template argument. |
void |
setName(java.lang.String name) Sets the name of this template argument. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArgumentBean()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name of this template argument to set.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description to set.public java.util.Map<java.lang.String,java.lang.String> getValues()
Map
containing template argument values as keys and value description as values in the map.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.