public class Model extends Traceable
Constructor and Description |
---|
Model() |
Modifier and Type | Method and Description |
---|---|
Feature |
getFeature(java.lang.String name)
Find the feature if available
|
java.util.List<Feature> |
getFeatures()
Return all features.
|
Feature |
getOrCreateFeature(java.lang.String name)
Get or create the feature.
|
java.lang.String |
toString() |
getLocation, setLocation
public Feature getFeature(java.lang.String name)
name
- The feature namenull
.public Feature getOrCreateFeature(java.lang.String name)
name
- Feature namepublic java.util.List<Feature> getFeatures()
Copyright © 2018 The Apache Software Foundation. All rights reserved.