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 classLEMSQuantityPath.Type
-
Field Summary
Fields Modifier and Type Field Description static StringDUMMY_POPULATION_PREFIXprotected LEMSQuantityPath.TypemyTypeprotected Stringpopulationprotected intpopulationIndexprotected Stringscaleprotected intsegmentIdprotected 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 StringgetPopulation()StringgetPopulationArray()intgetPopulationIndex()StringgetQuantity()StringgetScale()intgetSegmentId()StringgetVariable()static StringgetVariable(String[] variableParts, LEMSQuantityPath.Type myType)String[]getVariableParts()static StringgetVariablePartsAsString(String[] variableParts)static StringgetVariablePartsAsString(String separator, String[] variableParts)StringgetVariablePathInPopComp()static StringgetVariablePathInPopComp(String[] variableParts, LEMSQuantityPath.Type myType)static booleanisInteger(String s)booleanisVariableInPopulation()booleanisVariableOnSynapse()static voidmain(String[] args)voidsetPopulation(String p)StringtoString()
-
-
-
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)
-
-