public class Feature extends Object
Modifier and Type | Field and Description |
---|---|
private static ClassMetadata |
metaData |
Constructor and Description |
---|
Feature() |
Modifier and Type | Method and Description |
---|---|
static ArrayDesignBlock |
getArrayDesignBlock(DbControl dc,
FeatureData feature)
Get the array design block from a feature.
|
static FeatureCoordinate |
getFeatureCoordinate(FeatureData feature)
Get the coordinate of the feature.
|
static Well |
getWell(DbControl dc,
FeatureData feature)
Get the well from a feature.
|
private static ClassMetadata metaData
public static ArrayDesignBlock getArrayDesignBlock(DbControl dc, FeatureData feature) throws PermissionDeniedException, BaseException
dc
- The DbControl
which will be used for
permission checking and database access.feature
- Feature to get array design block from.ArrayDesignBlock
object.PermissionDeniedException
- If the logged in user doesn't
have read permission to the itemBaseException
- If there is another errorpublic static Well getWell(DbControl dc, FeatureData feature) throws PermissionDeniedException, BaseException
dc
- The DbControl
which will be used for
permission checking and database access.feature
- The feature to get well from.Well
object or null if no well is connectedPermissionDeniedException
- If the logged in user doesn't
have read permission to the itemBaseException
- If there is another errorpublic static FeatureCoordinate getFeatureCoordinate(FeatureData feature)
FeatureCoordinate
object