Package org.uma.jmetal.util.naming.impl
Class SimpleDescribedEntity
java.lang.Object
org.uma.jmetal.util.naming.impl.SimpleDescribedEntity
- All Implemented Interfaces:
DescribedEntity
- Direct Known Subclasses:
GenericIndicator,SimpleMeasure
SimpleDescribedEntity is a basic implementation of DescribedEntity. It provides a
basic support for the most generic properties required by this interface.- Author:
- Matthieu Vergne
-
Constructor Summary
ConstructorsConstructorDescriptionCreate aSimpleDescribedEntitywith the class name as its name and anulldescription.SimpleDescribedEntity(String name) Create aSimpleDescribedEntitywith a given name and anulldescription.SimpleDescribedEntity(String name, String description) Create aSimpleDescribedEntitywith a given name and a given description. -
Method Summary
-
Constructor Details
-
SimpleDescribedEntity
Create aSimpleDescribedEntitywith a given name and a given description.- Parameters:
name- the name of theDescribedEntitydescription- the description of theDescribedEntity
-
SimpleDescribedEntity
Create aSimpleDescribedEntitywith a given name and anulldescription.- Parameters:
name- the name of theDescribedEntity
-
SimpleDescribedEntity
public SimpleDescribedEntity()Create aSimpleDescribedEntitywith the class name as its name and anulldescription.
-
-
Method Details
-
setName
- Parameters:
name- the new name of thisDescribedEntity
-
name
- Specified by:
namein interfaceDescribedEntity- Returns:
- the name of the
DescribedEntity
-
setDescription
- Parameters:
description- the new description of thisDescribedEntity
-
description
- Specified by:
descriptionin interfaceDescribedEntity- Returns:
- the description of the
DescribedEntity
-
toString
-