com.supermap.analyst.networkanalyst
Class WeightFieldInfo
- java.lang.Object
-
- com.supermap.analyst.networkanalyst.WeightFieldInfo
-
public class WeightFieldInfo extends java.lang.Object
The WeightFieldInfo class.The TransferWeightFieldInfo class. This class contains the information of TransferWeightFieldInfo object and the weight field of the transfer analysis. The weight field represents the cost. The from-to weight field value represents the cost from the start point to the end point along the edge, while the to-from weight field value represents the cost from the end point to the start point along the edge.
-
-
Constructor Summary
Constructors Constructor and Description WeightFieldInfo()
Initializes a new instance of the WeightFieldInfo class.WeightFieldInfo(WeightFieldInfo weightFieldInfo)
Initializes a new instance of the WeightFieldInfo class which is identical with the specified WeightFieldInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.String
getFTWeightField()
Gets the positive weight filed.java.lang.String
getName()
Gets the name of WeightFieldInfo.java.lang.String
getTFWeightField()
Gets the negative weight filed.void
setFTWeightField(java.lang.String value)
Sets the positive weight filed.void
setName(java.lang.String value)
Sets the name of the WeightFieldInfo object.void
setTFWeightField(java.lang.String value)
Sets the negative weight filed.
-
-
-
Constructor Detail
-
WeightFieldInfo
public WeightFieldInfo()
Initializes a new instance of the WeightFieldInfo class.
-
WeightFieldInfo
public WeightFieldInfo(WeightFieldInfo weightFieldInfo)
Initializes a new instance of the WeightFieldInfo class which is identical with the specified WeightFieldInfo.- Parameters:
weightFieldInfo
- The specified WeightFieldInfo object.
-
-
Method Detail
-
getFTWeightField
public java.lang.String getFTWeightField()
Gets the positive weight filed.- Returns:
- The positive weight filed.
- Default:
- The default is a null string.
-
setFTWeightField
public void setFTWeightField(java.lang.String value)
Sets the positive weight filed.- Parameters:
value
- The positive weight filed.- Default:
- The default is a null string.
-
getTFWeightField
public java.lang.String getTFWeightField()
Gets the negative weight filed.- Returns:
- The negative weight filed.
- Default:
- The default is a null string.
-
setTFWeightField
public void setTFWeightField(java.lang.String value)
Sets the negative weight filed.- Parameters:
value
- The negative weight filed.- Default:
- The default is a null string.
-
getName
public java.lang.String getName()
Gets the name of WeightFieldInfo.- Returns:
- value The name of WeightFieldInfo.
- Default:
- The default value is "UntitledWeightFieldInfo".
-
setName
public void setName(java.lang.String value)
Sets the name of the WeightFieldInfo object.- Parameters:
value
- The name of WeightFieldInfo.
-
-