Package org.pipservices3.commons.data
Interface INamed
public interface INamed
Interface for data objects that have human-readable names.
### Example ###
public class MyData implements IStringIdentifiable, INamed {
private String id;
private String name;
public String field1;
public int field2;
...
public String getId() {...}
public void setId(String newId) {...}
public String getName() {...}
public void setName(String newName) {...}
}
-
Method Summary
-
Method Details
-
getName
String getName()Gets the object name- Returns:
- the object name
-
setName
Sets the object name- Parameters:
value
- a new object name
-