|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.pgsql.v0_5.impl.MemberTypeValueMapper
public class MemberTypeValueMapper
This is a utility class for mapping between relation member type columns and the corresponding entity type.
Constructor Summary | |
---|---|
MemberTypeValueMapper()
|
Method Summary | |
---|---|
EntityType |
getEntityType(byte memberType)
Returns the entity type value corresponding to the specified member type. |
byte |
getMemberType(EntityType entityType)
Returns the member type value corresponding to the specified entity type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemberTypeValueMapper()
Method Detail |
---|
public byte getMemberType(EntityType entityType)
entityType
- The entity type.
public EntityType getEntityType(byte memberType)
memberType
- The member type.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |