-
- All Implemented Interfaces:
public final class GeocachingAttribute extends Storable
Class for holding geocaching attributes <br></br><br></br> Every instance holds just one attribute, defined by it's unique ID number. If you want to set correct value, use constructor that allow set directly by number or by attribute URL <br></br><br></br>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classGeocachingAttribute.Companion
-
Constructor Summary
Constructors Constructor Description GeocachingAttribute(Integer id, Boolean positive)Create attribute container. GeocachingAttribute(String url)Create attribute container based on certain uri value. GeocachingAttribute()
-
Method Summary
-
-
Constructor Detail
-
GeocachingAttribute
GeocachingAttribute(Integer id, Boolean positive)
Create attribute container.- Parameters:
id- ID of attributepositive-trueto make attribute positive
-
GeocachingAttribute
GeocachingAttribute(String url)
Create attribute container based on certain uri value.- Parameters:
url- url value
-
GeocachingAttribute
GeocachingAttribute()
-
-
Method Detail
-
setId
final Unit setId(Integer id)
Current ID of attribute. This ID also contains positive/negative flag.
-
getIsPositive
final Boolean getIsPositive()
-
getAsBytes
final ByteArray getAsBytes()
-
-
-
-