|
SAP NetWeaver 7.11 (EhP1 SP03) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.scheduler.runtime.JobParameterDefinition
public class JobParameterDefinition
This class represents the definition for a single job definition parameter.
| Constructor Summary | |
|---|---|
JobParameterDefinition()
Deprecated. Needed for jver tests. Use only the non-empty constructor! |
|
JobParameterDefinition(String name,
JobParameterType type,
boolean nullable,
String description,
String dataDefault,
boolean display,
String direction,
String group,
HashMap<String,HashMap<String,String>> localizedTextMap)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getDefaultData()
|
String |
getDescription()
|
String |
getDirection()
|
String |
getGroup()
|
HashMap<String,HashMap<String,String>> |
getLocalizationInfoMap()
Returns the localization info for this parameter. |
String |
getLocalizedDescription()
Returns the localized description depending on the current system locale, if not available, the default description deployed with this job will be returned. |
String |
getLocalizedDescription(Locale l)
Returns the localized description depending on the provided locale if available, otherwise the default description deployed with this job will be returned. |
String |
getLocalizedName()
Returns the localized name depending on the current system locale. |
String |
getLocalizedName(Locale l)
Returns the localized name depending on the provided locale if available, otherwise the default name deployed with this job will be returned. |
String |
getName()
|
JobParameterType |
getType()
This method returns the type of the parameter. |
int |
hashCode()
|
boolean |
isDisplay()
|
boolean |
isIn()
|
boolean |
isInOut()
|
boolean |
isNullable()
|
boolean |
isOut()
|
void |
setDefaultData(String data_default)
Deprecated. use constructor instead |
void |
setDescription(String description)
Deprecated. use constructor instead |
void |
setDirection(String direction)
Deprecated. use constructor instead |
void |
setDisplay(boolean display)
Deprecated. use constructor instead |
void |
setGroup(String group)
Deprecated. use constructor instead |
void |
setLocalizationInfoMap(HashMap<String,HashMap<String,String>> localizedTextMap)
Deprecated. use constructor instead |
void |
setName(String name)
Deprecated. use constructor instead |
void |
setNullable(boolean nullable)
Deprecated. use constructor instead |
void |
setType(JobParameterType type)
Deprecated. use constructor instead |
String |
toFormattedString()
Returns this JobParameterDefinition in a formatted way |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JobParameterDefinition()
public JobParameterDefinition(String name,
JobParameterType type,
boolean nullable,
String description,
String dataDefault,
boolean display,
String direction,
String group,
HashMap<String,HashMap<String,String>> localizedTextMap)
| Method Detail |
|---|
public void setLocalizationInfoMap(HashMap<String,HashMap<String,String>> localizedTextMap)
the - localization infopublic HashMap<String,HashMap<String,String>> getLocalizationInfoMap()
Note: This method should be used only by the Scheduler runtime.
public String getDefaultData()
public void setDefaultData(String data_default)
data_default - the default value for this parameterpublic String getDescription()
public void setDescription(String description)
description - The description to set.public String getDirection()
public boolean isIn()
public boolean isOut()
public boolean isInOut()
public void setDirection(String direction)
direction - The direction to set. It can either be in, out, or
inout
IllegalArgumentException - if the string is not in, out, or inoutpublic boolean isDisplay()
public void setDisplay(boolean display)
display - The display to set.public String getGroup()
public void setGroup(String group)
group - The group to set.public String getName()
public void setName(String name)
name - Set the name of this parameter.public boolean isNullable()
public void setNullable(boolean nullable)
nullable - Set this to true if the parameter may be null, false
otherwisepublic JobParameterType getType()
public void setType(JobParameterType type)
type - The type to set. See description of getType()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String getLocalizedName()
public String getLocalizedName(Locale l)
l - the locale
public String getLocalizedDescription()
public String getLocalizedDescription(Locale l)
l - the locale
public String toFormattedString()
|
SAP NetWeaver 7.11 (EhP1 SP03) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||