Package com.comsol.model
Interface MaterialModelList
-
- All Superinterfaces:
java.lang.Iterable<MaterialModel>
,ModelEntity
,ModelEntityList<MaterialModel>
,PrimitiveModelEntity
public interface MaterialModelList extends ModelEntityList<MaterialModel>
List of material property groups.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MaterialModel
create(java.lang.String tag, java.lang.String descr)
Creates material property group.MaterialModel
create(java.lang.String tag, java.lang.String type, java.lang.String descr)
Creates material property group of a certain type.-
Methods inherited from interface com.comsol.model.ModelEntity
active, author, author, comments, comments, dateCreated, dateModified, docMarker, docMarker, help, help, icon, isactive, isActive, label, label, lastModifiedBy, model, model, name, name, resetAuthor, scope, tag, tag, timeCreated, timeModified, version, version
-
Methods inherited from interface com.comsol.model.ModelEntityList
clear, copy, copy, copyTo, duplicate, duplicateTo, get, hasTag, index, remove, size, tags, uniquetag
-
Methods inherited from interface com.comsol.model.PrimitiveModelEntity
getContainer, getDisplayString, resolveModelPath
-
-
-
-
Method Detail
-
create
MaterialModel create(java.lang.String tag, java.lang.String descr)
Creates material property group. If the tag is equal to any of the known built-in types the created property group will be of that type. When a built-in property group with the tag and type already exists, this method just returns that property group without creating anything. This differs from the methodcreate(String, String, String)
that will throw when a tag is already present.- Parameters:
tag
- Material property group tag and a potential type.descr
- Material property group description.- Returns:
- Created or existing material property group.
-
create
MaterialModel create(java.lang.String tag, java.lang.String type, java.lang.String descr)
Creates material property group of a certain type.- Parameters:
tag
- Material property group tag.type
- Material property group type.descr
- Material property group description.- Returns:
- Created material property group.
-
-