Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package de.swm.gwt.client.interfaces;
 
 import java.util.Map;



Models support a form of "introspection" as property names and values can be retrieved at runtime.

Author(s):
wiese.daniel
copyright (C) 2011, SWM Services GmbH
public interface IModelData {

Returns the named property from this model instance.

Parameters:
property the property name
<X> der typ der property
Returns:
the value
	<X> X get(String property);



Returns the model's properties and values as a map.

Changes to the returned collection should not mutate this model instance.

Returns:
the properties and values
Returns an collection of the model's property names.

The collection should be a snapshot of the property names that the model represents.

Changes to the returned collection should not mutate this model instance.

Returns:
die liste der Properties.
Removes the named property from this model instance.

Parameters:
property the property name
<X> der typ der property
Returns:
the old value for the property
	<X> X remove(String property);



Sets a property.

Parameters:
property the property name
value property value
<X> der typ der property
Returns:
the old value for the property
	<X> X set(String property, X value);
New to GrepCode? Check out our FAQ X