|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.domain.v0_5.RelationMember
public class RelationMember
A data class representing a single member within a relation entity.
| Constructor Summary | |
|---|---|
RelationMember(long memberId,
EntityType memberType,
java.lang.String memberRole)
Creates a new instance. |
|
RelationMember(StoreReader sr,
StoreClassRegister scr)
Creates a new instance. |
|
| Method Summary | |
|---|---|
int |
compareTo(RelationMember relationMember)
Compares this relation member to the specified relation member. |
long |
getMemberId()
Returns the id of the member entity. |
java.lang.String |
getMemberRole()
Returns the role that this member forms within the relation. |
EntityType |
getMemberType()
Returns the type of the member entity. |
void |
store(StoreWriter sw,
StoreClassRegister scr)
Stores all state to the specified store writer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RelationMember(long memberId,
EntityType memberType,
java.lang.String memberRole)
memberId - The id of the entity that this member consists of.memberType - The type of the entity that this member consists of.memberRole - The role that this member forms within the relation.
public RelationMember(StoreReader sr,
StoreClassRegister scr)
sr - The store to read state from.scr - Maintains the mapping between classes and their identifiers
within the store.| Method Detail |
|---|
public void store(StoreWriter sw,
StoreClassRegister scr)
store in interface Storeablesw - The writer that persists data to an underlying store.scr - Maintains the mapping between classes and their identifiers
within the store.public int compareTo(RelationMember relationMember)
compareTo in interface java.lang.Comparable<RelationMember>relationMember - The relation member to compare to.
public long getMemberId()
public EntityType getMemberType()
public java.lang.String getMemberRole()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||