|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.uoa.di.madgik.commons.configuration.parameter.IntegerClassParameter
public class IntegerClassParameter
Parameter of type IParameter.ParameterType.IntegerClass.
An example of this instnace configuratino type is the following
<param name="parameterKey" type="IntegerClass" generated="false" internal="false">4</param>
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface gr.uoa.di.madgik.commons.configuration.parameter.IParameter |
|---|
IParameter.ParameterType |
| Constructor Summary | |
|---|---|
IntegerClassParameter()
|
|
| Method Summary | |
|---|---|
void |
Check()
Sets that the parameter has been evaluated during the DependencyGraph.ResolveDependencies() process |
void |
FromXML(Element element)
Parses the provided xml subtree and populates the parameter instnace |
void |
FromXML(String xml)
Parses the provided xml subtree and populates the parameter instnace |
String |
GetName()
Retrieves the name of the parameter |
Class<?> |
GetParameterClassType()
Retireves the class type of the value the parameter stored |
IParameter.ParameterType |
GetParameterType()
Retrieves the IParameter the implementing
instnace represents |
Object |
GetValue()
Retrieves the value of the parameter |
Boolean |
IsChecked()
Retrieves whether or not the parameter has been evaluated during the DependencyGraph.ResolveDependencies() process |
Boolean |
IsGenerated()
Retrieves whether or not the parameter is generated or a specific value of generation description is available in the same decleration |
Boolean |
IsInternal()
Retrieves whether or not the parameter is internal and is only used as an intermediate step during the initialization of an other parameter or it can also be accessed by external clients |
void |
SetValue(Object Value)
Sets the value of the parameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntegerClassParameter()
| Method Detail |
|---|
public Class<?> GetParameterClassType()
IParameter
GetParameterClassType in interface IParameterpublic Boolean IsChecked()
IParameterDependencyGraph.ResolveDependencies() process
IsChecked in interface IParameterpublic void Check()
IParameterDependencyGraph.ResolveDependencies() process
Check in interface IParameterpublic IParameter.ParameterType GetParameterType()
IParameterIParameter the implementing
instnace represents
GetParameterType in interface IParameterpublic String GetName()
IParameter
GetName in interface IParameterpublic Boolean IsGenerated()
IParameter
IsGenerated in interface IParameterpublic Boolean IsInternal()
IParameter
IsInternal in interface IParameterpublic Object GetValue()
IParameter
GetValue in interface IParameter
public void SetValue(Object Value)
throws Exception
IParameter
SetValue in interface IParameterValue - the value
Exception - the value is not of correct type for the parameter instnace
public void FromXML(String xml)
throws Exception
IParameter
FromXML in interface IParameterxml - the xml subtree
Exception - the parsing could be performed
public void FromXML(Element element)
throws Exception
IParameter
FromXML in interface IParameterelement - the xml subtree
Exception - the parsing could be performed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||