public void setSenderUri(String senderUri) { this.attributes.setAttribute("sender-uri", senderUri); } //------------------------------------------------------------------------------------------------------------
/** * Sets the Latitude of the address associated with this context * * @param latitude */ public void setLatitude(String latitude) { this.attributeManager.setAttribute("latitude", latitude); }
/** * Sets the Longitude of the address associated with this context * * @param longitude */ public void setLongitude(String longitude) { this.attributeManager.setAttribute("longitude", longitude); }
/** * Get the type of places to be searched for * * @param placeTypes */ public void setPlaceTypes(List<String> placeTypes) { this.attributeManager.setAttribute("placeTypes", placeTypes); }
/** * Sets the Address associated with this context * * @param address */ public void setAddress(Address address) { this.attributeManager.setAttribute("address", address); }
/** * * @param placeReference */ public void setPlaceReference(String placeReference) { this.attributeManager.setAttribute("placeReference", placeReference); }
/** * Sets related "map" of string data representing the contextual data associated * with this particular service request * * @param name * @param map */ public void setMapAttribute(String name, Map<String,String> map) { this.attributeManager.setAttribute(name,map); }
/** * Sets the list of places near the address associated with the context * * @param places */ public void setNearbyPlaces(List<Place> places) { this.attributeManager.setAttribute("places", places); }
/** * Set the details associated with a place * * @param placeDetails */ public void setPlaceDetails(Place placeDetails) { this.attributeManager.setAttribute("placeDetails", placeDetails); }
/** * Set the radius of how far to look for nearby places * * @param radius */ public void setRadius(int radius) { this.attributeManager.setAttribute("radius", ""+radius); }
/** * Set the name of the place to search for * * @param searchName */ public void setSearchName(String searchName) { this.attributeManager.setAttribute("searchName", searchName); }
/** * Sets related "map" of string data representing the contextual data associated * with this particular service request * * @param name * @param map */ public void setMapAttribute(String name, Map<String,String> map) { this.attributeManager.setAttribute(name,map); }
public void authSuccessNotification(String username) { this.mgr.setAttribute("username", username); this.mgr.setAttribute("auth-mode", true); }
/** * Sets arbitrary attributes representing the contextual data associated with this context * * @param name * @param value */ public void setAttribute(String name, Object value) { this.attributeManager.setAttribute(name, value); }
/** * Sets arbitrary attributes representing the contextual data associated with this particular service response * * @param name * @param value */ public void setAttribute(String name, String value) { this.attributeManager.setAttribute(name, value); }
/** * Sets related "list" of data representing the contextual data associated * with this particular service request * * @param name * @param list */ public void setListAttribute(String name, List<String> list) { this.attributeManager.setAttribute(name, list); }
/** * Sets arbitrary attributes representing the contextual data associated with this particular service request * * @param name * @param value */ public void setAttribute(String name, String value) { this.attributeManager.setAttribute(name, value); }
/** * Sets related "list" of data representing the contextual data associated * with this particular service request * * @param name * @param list */ public void setListAttribute(String name, List<String> list) { this.attributeManager.setAttribute(name,list); }
public void setChannel(String channel) { this.attributes.setAttribute("channel", channel); } }
public void setStatusCode(String statusCode) { this.attributeManager.setAttribute("status", statusCode); }