Package oracle.spatial.network.nfe.beans
Class AnalysisCustomizedCost
- java.lang.Object
-
- oracle.spatial.network.nfe.beans.AnalysisCustomizedCost
-
public class AnalysisCustomizedCost extends java.lang.Object
The feature layer and feature class will provide the attributes that will be used in the expression.
If feature class is null then the cost expression will apply to all the feature classes of the feature layer.
As example assume that the feature layer is Conductor and the feature class is HT Conductor, one of the attributes is LENGTH. Using the default expression analyzer ExpressionLexicalAnalyzer then valid expressions would be:1) LENGTH 2) LENGTH*(4-3)
If LENGTH is chosen then the length attribute of the HT Conductor is used as cost in an NFE analysis.
-
-
Constructor Summary
Constructors Constructor Description AnalysisCustomizedCost()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getExpression()
Returns the cost expression.NFEFeatureClass
getNFEFeatureClass()
Returns the feature class.NFEFeatureLayer
getNFEFeatureLayer()
Returns the feature layer.void
setExpression(java.lang.String expression)
Sets the cost expressionvoid
setNFEFeatureClass(NFEFeatureClass nfeFeatureClass)
Sets the feature class.void
setNFEFeatureLayer(NFEFeatureLayer nfeFeatureLayer)
Sets the feature layer.
-
-
-
Method Detail
-
getNFEFeatureLayer
public NFEFeatureLayer getNFEFeatureLayer()
Returns the feature layer.- Returns:
- feature layer
-
setNFEFeatureLayer
public void setNFEFeatureLayer(NFEFeatureLayer nfeFeatureLayer)
Sets the feature layer.- Parameters:
nfeFeatureLayer
- feature layer
-
getNFEFeatureClass
public NFEFeatureClass getNFEFeatureClass()
Returns the feature class.- Returns:
- feature class
-
setNFEFeatureClass
public void setNFEFeatureClass(NFEFeatureClass nfeFeatureClass)
Sets the feature class.- Parameters:
nfeFeatureClass
- feature class
-
getExpression
public java.lang.String getExpression()
Returns the cost expression.- Returns:
- cost expression
-
setExpression
public void setExpression(java.lang.String expression)
Sets the cost expression- Parameters:
expression
- cost expression
-
-