Package org.neuroml.export.utils
Class LEMSQuantityPath
- java.lang.Object
-
- org.neuroml.export.utils.LEMSQuantityPath
-
- Direct Known Subclasses:
LEMSQuantityPathNeuron
public class LEMSQuantityPath extends Object
- Author:
- Padraig Gleeson
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
LEMSQuantityPath.Type
-
Field Summary
Fields Modifier and Type Field Description static String
DUMMY_POPULATION_PREFIX
protected LEMSQuantityPath.Type
myType
protected String
population
protected int
populationIndex
protected String
scale
protected int
segmentId
protected String[]
variableParts
-
Constructor Summary
Constructors Constructor Description LEMSQuantityPath(String q)
LEMSQuantityPath(String q, String s)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPopulation()
String
getPopulationArray()
int
getPopulationIndex()
String
getQuantity()
String
getScale()
int
getSegmentId()
String
getVariable()
static String
getVariable(String[] variableParts, LEMSQuantityPath.Type myType)
String[]
getVariableParts()
static String
getVariablePartsAsString(String[] variableParts)
static String
getVariablePartsAsString(String separator, String[] variableParts)
String
getVariablePathInPopComp()
static String
getVariablePathInPopComp(String[] variableParts, LEMSQuantityPath.Type myType)
static boolean
isInteger(String s)
boolean
isVariableInPopulation()
boolean
isVariableOnSynapse()
static void
main(String[] args)
void
setPopulation(String p)
String
toString()
-
-
-
Field Detail
-
population
protected String population
-
scale
protected String scale
-
populationIndex
protected int populationIndex
-
segmentId
protected int segmentId
-
myType
protected LEMSQuantityPath.Type myType
-
variableParts
protected String[] variableParts
-
DUMMY_POPULATION_PREFIX
public static final String DUMMY_POPULATION_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
setPopulation
public void setPopulation(String p)
-
getPopulationArray
public String getPopulationArray()
-
getQuantity
public String getQuantity()
-
getVariableParts
public String[] getVariableParts()
-
getVariablePartsAsString
public static String getVariablePartsAsString(String separator, String[] variableParts)
-
getVariable
public static String getVariable(String[] variableParts, LEMSQuantityPath.Type myType)
-
getVariable
public String getVariable()
-
getVariablePathInPopComp
public String getVariablePathInPopComp()
-
getVariablePathInPopComp
public static String getVariablePathInPopComp(String[] variableParts, LEMSQuantityPath.Type myType)
-
getPopulation
public String getPopulation()
-
getScale
public String getScale()
-
getPopulationIndex
public int getPopulationIndex()
-
getSegmentId
public int getSegmentId()
-
isVariableInPopulation
public boolean isVariableInPopulation()
-
isVariableOnSynapse
public boolean isVariableOnSynapse()
-
isInteger
public static boolean isInteger(String s)
-
-