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