FileDocCategorySizeDatePackage
Landmark.javaAPI DocphoneME MR2 API (J2ME)2985Wed May 02 18:00:40 BST 2007javax.microedition.location

Landmark

public class Landmark extends Object
This class is defined by the JSR-179 specification Location API for J2ME for J2ME™.

Fields Summary
private com.sun.j2me.location.LandmarkImpl
landmark
Landmark Implementation
Constructors Summary
public Landmark(String name, String description, QualifiedCoordinates coordinates, AddressInfo addressInfo)


    // JAVADOC COMMENT ELIDED
         
		     
		      
        landmark = new LandmarkImpl(name, description, 
                coordinates, addressInfo);
    
Landmark(com.sun.j2me.location.LandmarkImpl landmark)

        this.landmark = landmark;
    
Methods Summary
public AddressInfogetAddressInfo()

        return landmark.getAddressInfo();
    
public java.lang.StringgetDescription()

        return landmark.getDescription();
    
com.sun.j2me.location.LandmarkImplgetInstance()

        return landmark;
    
public java.lang.StringgetName()

        return landmark.getName();
    
public QualifiedCoordinatesgetQualifiedCoordinates()

        return landmark.getQualifiedCoordinates();
    
public voidsetAddressInfo(AddressInfo addressInfo)

        landmark.setAddressInfo(addressInfo);
    
public voidsetDescription(java.lang.String description)

        landmark.setDescription(description);
    
public voidsetName(java.lang.String name)

        if (name == null) {
            throw new NullPointerException();
        }
        landmark.setName(name);
    
public voidsetQualifiedCoordinates(QualifiedCoordinates coordinates)

        landmark.setQualifiedCoordinates(coordinates);