|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmodel.OrientationSystem
public class OrientationSystem
Class for storing static data about qualitive orientations.
Nested Class Summary | |
---|---|
static class |
OrientationSystem.Card4
|
static class |
OrientationSystem.Card8
|
static class |
OrientationSystem.CardEW
|
static class |
OrientationSystem.CardNS
|
static class |
OrientationSystem.OrienSystem
a list of orientation systems |
Field Summary | |
---|---|
private static java.util.HashMap<java.lang.String,java.lang.String> |
orientationHierarchy
a mapping of orientations to the next higher granularity |
private static java.util.HashMap<java.lang.String,OrientationSystem.OrienSystem> |
systemMap
a mapping of orientation names to their orientation system |
private static java.util.HashMap<OrientationSystem.OrienSystem,java.util.ArrayList<java.lang.String>> |
valuesMap
a mapping of systems to the orientation names |
Constructor Summary | |
---|---|
OrientationSystem()
|
Method Summary | |
---|---|
static java.lang.String |
getOrientationName(java.lang.String orientationName,
OrientationSystem.OrienSystem system)
Gets the orientation name of the specified orientation in the new orientation system. |
static java.util.ArrayList<java.lang.String> |
getOrientationNames(OrientationSystem.OrienSystem system)
Gets the orientation names for the specified system. |
static OrientationSystem.OrienSystem |
getSystem(java.lang.String orientationName)
Gets the orientation system for the specified orientation name. |
static boolean |
higherGranularity(OrientationSystem.OrienSystem system1,
OrientationSystem.OrienSystem system2)
Returns true if the first system has a higher granularity than the second system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static java.util.HashMap<java.lang.String,OrientationSystem.OrienSystem> systemMap
private static java.util.HashMap<OrientationSystem.OrienSystem,java.util.ArrayList<java.lang.String>> valuesMap
private static java.util.HashMap<java.lang.String,java.lang.String> orientationHierarchy
Constructor Detail |
---|
public OrientationSystem()
Method Detail |
---|
public static java.util.ArrayList<java.lang.String> getOrientationNames(OrientationSystem.OrienSystem system)
system
- - the orientation system
public static OrientationSystem.OrienSystem getSystem(java.lang.String orientationName)
orientationName
- - the orientation name
public static java.lang.String getOrientationName(java.lang.String orientationName, OrientationSystem.OrienSystem system)
orientationName
- - the orientation namesystem
- - the new orientation system
public static boolean higherGranularity(OrientationSystem.OrienSystem system1, OrientationSystem.OrienSystem system2)
system1
- - the first systemsystem2
- - the second system
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |