|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.optimizationservices.oscommon.representationparser.OSgLReader
org.optimizationservices.oscommon.representationparser.OSeLReader
public class OSeLReader
The
Field Summary |
---|
Fields inherited from class org.optimizationservices.oscommon.representationparser.OSgLReader |
---|
m_document |
Constructor Summary | |
---|---|
OSeLReader()
Default constructor. |
|
OSeLReader(boolean validate)
constructor. |
Method Summary | |
---|---|
AccessLimits |
getAccessLimits()
Get the access limits of the service. |
OSOption |
getDefaultOptionNamesAndValues()
Get the default option names and values in the standard OSOption structure which is specified by the OSoL schema. |
java.lang.String[] |
getKeyWords()
Get the key words of the service. |
boolean |
getLicenseRequired()
Get whether the license is reqired of the service or not. |
Link[] |
getLinks()
Get the links of the service. |
java.lang.String |
getMessage()
Get the message. |
java.lang.String |
getOptimizationConstraintDifferentiability()
Get the optimization constraint differentiability, which can be: generallyDifferentiable, twiceDifferentiable, firstDifferentiable, nonDifferentiableContinous, nonContinuous, simulation. |
java.lang.String |
getOptimizationConstraintLinearity()
Get the constraint objective linearity, which can be: none, bound, linearNetwork, linear, convexQuadratic, convexNonlinear, generalQuadratic, generalNonlinear |
java.lang.String |
getOptimizationConstraintType()
Get the optimization constraint type, which can be: generalRange, pureEquality, pureBound, pureLinearComplementarity, pureNonlinearComplementarity, linearMixedComplementarity, nonlinearMixedComplementarity, generalMixedComplementarity, pureCone, mixedCone. |
java.lang.String |
getOptimizationDescription()
Get the optimization description. |
FunctionType |
getOptimizationFunctionType()
Get the function types that the service supports. |
java.lang.String |
getOptimizationObjectiveDifferentiability()
Get the optimization objective differentiability, which can be: generallyDifferentiable, twiceDifferentiable, firstDifferentiable, nonDifferentiableContinous, nonContinuous, simulation. |
java.lang.String |
getOptimizationObjectiveLinearity()
Get the optimization objective linearity, which can be: none, linearNetwork, linear, sumOfSquares, convexQuadratic, convexNonlinear, generalQuadratic, generalNonlinear |
java.lang.String |
getOptimizationObjectiveType()
Get the optimization objective type, which can be: none, singleObjective, multiObjectives |
java.lang.String |
getOptimizationParameterType()
Get the optimization parameter type, which can be: number, string, both |
boolean |
getOptimizationRealTime()
Get whether the service supports real time optimization or not. |
SpecialAlgorithm |
getOptimizationSpecialAlgorithm()
Get the special algorithms that the service supports. |
SpecialStructure |
getOptimizationSpecialStructure()
Get the special structures that the service supports. |
java.lang.String |
getOptimizationStochasticity()
Get the optimization stochasticity, which can be: deterministic, stochastic, both |
java.lang.String |
getOptimizationVariableType()
Get the optimization variable type, which can be: continuous, pureBinary, mixedBinary, pureInteger, mixedInteger, discrete. |
OSEntity |
getOSEntity()
get the standard OSEntity, a local interface for storing Optimization Services entity. |
java.lang.String |
getOtherEntityDescriptionByName(java.lang.String name)
Get the String value from the other entity info hash map. |
java.lang.String[] |
getOtherEntityDescriptions()
Get the descriptions of all other entity info. |
java.util.HashMap<java.lang.String,java.lang.String> |
getOtherEntityInfo()
Get the hash map of other entity information. |
java.lang.String[] |
getOtherEntityInfoNames()
Get the names of all other entity info. |
int |
getOtherEntityInfoNumber()
Get the number of other entity info. |
java.lang.String |
getOtherEntityInfoValueByName(java.lang.String name)
Get the String value from the other entity info hash map. |
java.lang.String[] |
getOtherEntityInfoValues()
Get the values of all other entity info. |
Owner |
getOwner()
Get the owner information of the service entity. |
boolean |
getPasswordRequired()
Get whether the password is reqired of the service or not. |
java.util.GregorianCalendar |
getRegistrationDate()
Get time of the registration date. |
java.lang.String |
getServiceAlgorithmDescription()
Get the service algorithm description. |
java.lang.String |
getServiceCategory()
Get the service category, which can be: education, government, organization, company, military, personal, other |
java.lang.String |
getServiceDescription()
Get the service description. |
java.lang.String |
getServiceLogoImageLink()
Get the service logo image link. |
java.lang.String |
getServiceName()
Get the service name. |
java.lang.String |
getServiceSoftwareDescription()
Get the service software description. |
java.lang.String |
getServiceType()
Get the service type, which can be: solver, analyzer, scheduler, simulation, registry, modeler, agent |
java.lang.String |
getServiceURI()
Get the service uri. |
java.lang.String |
getServiceWebPage()
Get the service web page. |
java.lang.String |
getServiceWSDLLocation()
Get the service wsdl location. |
double |
getSystemDedication()
Get the system dedication, a double between 0 and 1 with 1 being fully dedicated. |
java.lang.String |
getSystemDescription()
Get the system description. |
HardwareInfo |
getSystemHardwareInfo()
Get the system hardware information. |
boolean |
getUserNameRequired()
Get whether the user name is reqired of the service or not. |
static void |
main(java.lang.String[] argv)
main for test purposes. |
Methods inherited from class org.optimizationservices.oscommon.representationparser.OSgLReader |
---|
getDocument, getRootElement, isValidate, readFile, readString, setDocument, setRootElement, setValidate, writeToFile, writeToSring, writeToStandardOutput |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OSeLReader(boolean validate)
validate
- holds whether the reader should be validating against the schema or not.public OSeLReader()
Method Detail |
---|
public OSEntity getOSEntity() throws java.lang.Exception
java.lang.Exception
- if there are errors getting the OSEntity.public java.lang.String getServiceURI()
public java.lang.String getServiceName()
public java.util.GregorianCalendar getRegistrationDate()
public java.lang.String getMessage()
public boolean getLicenseRequired()
public boolean getUserNameRequired()
public boolean getPasswordRequired()
public AccessLimits getAccessLimits()
public Owner getOwner()
public java.lang.String[] getKeyWords()
public Link[] getLinks()
public java.lang.String getSystemDescription()
public double getSystemDedication()
public HardwareInfo getSystemHardwareInfo()
public java.lang.String getServiceDescription()
public java.lang.String getServiceType()
public java.lang.String getServiceCategory()
public java.lang.String getServiceSoftwareDescription()
public java.lang.String getServiceAlgorithmDescription()
public java.lang.String getServiceWebPage()
public java.lang.String getServiceWSDLLocation()
public java.lang.String getServiceLogoImageLink()
public OSOption getDefaultOptionNamesAndValues()
public java.lang.String getOptimizationDescription()
public java.lang.String getOptimizationVariableType()
public java.lang.String getOptimizationObjectiveType()
public java.lang.String getOptimizationConstraintType()
public java.lang.String getOptimizationObjectiveLinearity()
public java.lang.String getOptimizationConstraintLinearity()
public java.lang.String getOptimizationObjectiveDifferentiability()
public java.lang.String getOptimizationConstraintDifferentiability()
public java.lang.String getOptimizationParameterType()
public java.lang.String getOptimizationStochasticity()
public boolean getOptimizationRealTime()
public FunctionType getOptimizationFunctionType()
public SpecialStructure getOptimizationSpecialStructure()
public SpecialAlgorithm getOptimizationSpecialAlgorithm()
public java.util.HashMap<java.lang.String,java.lang.String> getOtherEntityInfo()
public int getOtherEntityInfoNumber()
public java.lang.String getOtherEntityInfoValueByName(java.lang.String name)
name
- holds the name of entity info to get.
public java.lang.String getOtherEntityDescriptionByName(java.lang.String name)
name
- holds the name of entity info to get.
public java.lang.String[] getOtherEntityInfoNames()
public java.lang.String[] getOtherEntityInfoValues()
public java.lang.String[] getOtherEntityDescriptions()
public static void main(java.lang.String[] argv)
argv
- command line arguments.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |