Class LocationCustomFieldImpl
java.lang.Object
pw.chew.clickup4j.internal.entities.customfields.CustomFieldImpl
pw.chew.clickup4j.internal.entities.customfields.LocationCustomFieldImpl
- All Implemented Interfaces:
 ICustomField,LocationCustomField
- 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class pw.chew.clickup4j.internal.entities.customfields.CustomFieldImpl
getClickUp4j, getId, getName, getTimeCreated, getType, isRequiredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pw.chew.clickup4j.api.entities.customfields.ICustomField
getClickUp4j, getId, getName, getTimeCreated, isRequiredMethods inherited from interface pw.chew.clickup4j.api.entities.customfields.LocationCustomField
getType 
- 
Constructor Details
- 
LocationCustomFieldImpl
 
 - 
 - 
Method Details
- 
getValue
Description copied from interface:ICustomFieldReturns the value of this custom field.It's highly recommended to cast this value to the appropriate type, because it returns more appropriate data. For example, if the custom field is of type
CustomFieldType.TEXT, you can cast the value toTextCustomField, this class can be found usingCustomFieldType.getAssociatedClass().This will be null under the following circumstances:
- No value is specified.
 - The task response did not contain a 
value. Notably when an individual task is retrieved. 
- Specified by:
 getValuein interfaceICustomField- Specified by:
 getValuein interfaceLocationCustomField- Overrides:
 getValuein classCustomFieldImpl- Returns:
 - the value of this custom field
 
 - 
getLatitude
public float getLatitude()Description copied from interface:LocationCustomFieldGet the latitude of the location.- Specified by:
 getLatitudein interfaceLocationCustomField- Returns:
 - the latitude
 
 - 
getLongitude
public float getLongitude()Description copied from interface:LocationCustomFieldGet the longitude of the location.- Specified by:
 getLongitudein interfaceLocationCustomField- Returns:
 - the longitude
 
 - 
getPlaceId
Description copied from interface:LocationCustomFieldThe place ID of the location.- Specified by:
 getPlaceIdin interfaceLocationCustomField- Returns:
 - the place ID
 
 
 -