Class LandMarkGroup
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<LandMark>
,Collection<LandMark>
,List<LandMark>
,RandomAccess
List for storing landmarks.
- Author:
- Jamie Macaulay
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Get comment for the groupgetName()
Get the name of the groupIf any of the landmarks are defined by bearings rather than a LatLong location then the height at which the bearings for this group were taken is returned.If any of the landmarks are defined by bearings rather than a LatLong location then the height at which the bearings for this group were taken is returned.void
setCommentText
(String comment) Set comment for the group.void
setGroupName
(String groupName) Set the name of the groupvoid
setLandMarks
(ArrayList<LandMark> landMarks) Set landmarks.toString()
void
update
(LandMarkGroup landMarkGroupList) Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll
-
Constructor Details
-
LandMarkGroup
public LandMarkGroup()
-
-
Method Details
-
getName
Get the name of the group- Returns:
- the name of the group
-
setGroupName
Set the name of the group- Parameters:
groupName
- - the name of the group.
-
clone
-
toString
- Overrides:
toString
in classAbstractCollection<LandMark>
-
getComment
Get comment for the group- Returns:
-
setCommentText
Set comment for the group.- Parameters:
comment
-
-
update
-
getOriginHeight
If any of the landmarks are defined by bearings rather than a LatLong location then the height at which the bearings for this group were taken is returned.- Returns:
-
getOriginLatLong
If any of the landmarks are defined by bearings rather than a LatLong location then the height at which the bearings for this group were taken is returned.- Returns:
-
setLandMarks
Set landmarks. If null clears the landmarks.- Parameters:
landMarks
-
-