|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sfm.ap210.jsdai.thermal.ThermalMaterial
public class ThermalMaterial
Illustrates a thermal material representation as a name and a listing of properties describing the physical characteristics of the material.
| Field Summary | |
|---|---|
protected java.lang.String |
name
|
protected java.util.List<Param> |
properties
|
| Constructor Summary | |
|---|---|
ThermalMaterial(java.lang.String name)
Create a new material with the given name and no physical characteristics |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Get the name of the material |
java.util.Set<java.lang.String> |
getProperties()
Get all characteristics of the material |
Param |
getProperty(java.lang.String name)
Find the property with the given name defined on the material |
void |
removeProperty(java.lang.String name)
Remove the property with the given name from this material |
void |
setName(java.lang.String name)
Set the material's name |
void |
setProperty(Param property)
Attach the given characteristic to the material, if this characteristic already exists, it is overwritten |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String name
protected java.util.List<Param> properties
| Constructor Detail |
|---|
public ThermalMaterial(java.lang.String name)
name - | Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - public Param getProperty(java.lang.String name)
name -
public void setProperty(Param property)
property - public java.util.Set<java.lang.String> getProperties()
public void removeProperty(java.lang.String name)
name - the property to removepublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||