当前位置: 首页>>代码示例>>Java>>正文


Java PropertyType.String方法代码示例

本文整理汇总了Java中com.esri.ges.core.property.PropertyType.String方法的典型用法代码示例。如果您正苦于以下问题:Java PropertyType.String方法的具体用法?Java PropertyType.String怎么用?Java PropertyType.String使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.esri.ges.core.property.PropertyType的用法示例。


在下文中一共展示了PropertyType.String方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: setManager

import com.esri.ges.core.property.PropertyType; //导入方法依赖的package包/类
public void setManager(GeoEventDefinitionManager m) throws PropertyException {
	this.manager = m;
	
	PropertyDefinition procSymbolIdSource = new PropertyDefinition("symbolIdSource", 
			PropertyType.String, "", "SymbolId Source", "Source of SymbolId Value", true, false);
	procSymbolIdSource.addAllowedValue("Event");
	propertyDefinitions.put(procSymbolIdSource.getPropertyName(), procSymbolIdSource);
	
	PropertyDefinition procSymbolIdEvent = new PropertyDefinition("symbolIdEvent", 
			PropertyType.String, "", "SymbolId Event Field", "Geoevent field containing SymbolId data", true, false);
	procSymbolIdEvent.setDependsOn("symbolIdSource=Event");
	SetGeoEventAllowedFields(procSymbolIdEvent);
	propertyDefinitions.put(procSymbolIdEvent.getPropertyName(), procSymbolIdEvent);
	
	PropertyDefinition procSymbolNameSource = new PropertyDefinition("symbolNameSource", 
			PropertyType.String, "", "SymbolName Source", "Source of SymbolName Value", true, false);
	procSymbolNameSource.addAllowedValue("Event");
	propertyDefinitions.put(procSymbolNameSource.getPropertyName(), procSymbolNameSource);
	
	PropertyDefinition procSymbolNameEvent = new PropertyDefinition("symbolNameEvent", 
			PropertyType.String, "", "SymbolName Event Field", "Geoevent field containing SymbolName data", true, false);
	procSymbolNameEvent.setDependsOn("symbolNameSource=Event");
	SetGeoEventAllowedFields(procSymbolNameEvent);
	propertyDefinitions.put(procSymbolNameEvent.getPropertyName(), procSymbolNameEvent);
	
}
 
开发者ID:Esri,项目名称:defense-solutions-proofs-of-concept,代码行数:27,代码来源:SymbolIdToNameProcessorDefinition.java

示例2: setManager

import com.esri.ges.core.property.PropertyType; //导入方法依赖的package包/类
public void setManager(GeoEventDefinitionManager m) throws PropertyException {
	this.manager = m;
			
	PropertyDefinition procSymbolNameSource = new PropertyDefinition("symbolNameSource", 
			PropertyType.String, "", "SymbolName Source", "Source of SymbolName Value", true, false);
	procSymbolNameSource.addAllowedValue("Event");
	propertyDefinitions.put(procSymbolNameSource.getPropertyName(), procSymbolNameSource);
	
	PropertyDefinition procSymbolNameEvent = new PropertyDefinition("symbolNameEvent", 
			PropertyType.String, "", "SymbolName Event Field", "Geoevent field containing SymbolName data", true, false);
	procSymbolNameEvent.setDependsOn("symbolNameSource=Event");
	SetGeoEventAllowedFields(procSymbolNameEvent);
	propertyDefinitions.put(procSymbolNameEvent.getPropertyName(), procSymbolNameEvent);
	
	PropertyDefinition procSymbolIdSource = new PropertyDefinition("symbolIdSource", 
			PropertyType.String, "", "SymbolId Source", "Source of SymbolId Value", true, false);
	procSymbolIdSource.addAllowedValue("Event");
	propertyDefinitions.put(procSymbolIdSource.getPropertyName(), procSymbolIdSource);
	
	PropertyDefinition procSymbolIdEvent = new PropertyDefinition("symbolIdEvent", 
			PropertyType.String, "", "SymbolId Event Field", "Geoevent field containing SymbolId data", true, false);
	procSymbolIdEvent.setDependsOn("symbolIdSource=Event");
	SetGeoEventAllowedFields(procSymbolIdEvent);
	propertyDefinitions.put(procSymbolIdEvent.getPropertyName(), procSymbolIdEvent);
	
}
 
开发者ID:Esri,项目名称:defense-solutions-proofs-of-concept,代码行数:27,代码来源:SymbolNameToIdProcessorDefinition.java

示例3: setManager

import com.esri.ges.core.property.PropertyType; //导入方法依赖的package包/类
public void setManager(GeoEventDefinitionManager m) throws PropertyException {
	this.manager = m;
	
	/*PropertyDefinition procSymbolIdSource = new PropertyDefinition("symbolIdSource", 
			PropertyType.String, "", "SymbolId Source", "Source of SymbolId Value", true, false);
	procSymbolIdSource.addAllowedValue("Event");
	propertyDefinitions.put(procSymbolIdSource.getPropertyName(), procSymbolIdSource);*/
	
	PropertyDefinition procSymbolIdEvent = new PropertyDefinition("symbolIdEvent", 
	PropertyType.String, "", "${com.esri.geoevent.solutions.processor.symbol-lookup.symbol-lookup-processor.LBL_SYMBOL_ID_FIELD}", "${com.esri.geoevent.solutions.processor.geomessage.geomessage-processor.DESC_SYMBOL_ID_FIELD}", true, false);
	//procSymbolIdEvent.setDependsOn("symbolIdSource=Event");

	propertyDefinitions.put(procSymbolIdEvent.getPropertyName(), procSymbolIdEvent);
	
	/*PropertyDefinition procSymbolNameSource = new PropertyDefinition("symbolNameSource", 
			PropertyType.String, "", "SymbolName Source", "Source of SymbolName Value", true, false);
	procSymbolNameSource.addAllowedValue("Event");
	propertyDefinitions.put(procSymbolNameSource.getPropertyName(), procSymbolNameSource);*/
	
	PropertyDefinition procSymbolNameEvent = new PropertyDefinition("symbolNameEvent", 
			PropertyType.String, "", "${com.esri.geoevent.solutions.processor.symbol-lookup.symbol-lookup-processor.LBL_SYMBOL_NAME_FIELD}", "${com.esri.geoevent.solutions.processor.geomessage.geomessage-processor.DESC_SYMBOL_NAME_FIELD}", true, false);
	//procSymbolNameEvent.setDependsOn("symbolNameSource=Event");

	propertyDefinitions.put(procSymbolNameEvent.getPropertyName(), procSymbolNameEvent);
	
}
 
开发者ID:Esri,项目名称:defense-solutions-proofs-of-concept,代码行数:27,代码来源:SymbolIdToNameProcessorDefinition.java

示例4: setManager

import com.esri.ges.core.property.PropertyType; //导入方法依赖的package包/类
public void setManager(GeoEventDefinitionManager m) throws PropertyException {
	this.manager = m;
			
	/*PropertyDefinition procSymbolNameSource = new PropertyDefinition("symbolNameSource", 
			PropertyType.String, "", "SymbolName Source", "Source of SymbolName Value", true, false);
	procSymbolNameSource.addAllowedValue("Event");
	propertyDefinitions.put(procSymbolNameSource.getPropertyName(), procSymbolNameSource);*/
	
	PropertyDefinition procSymbolNameEvent = new PropertyDefinition("symbolNameEvent", 
			PropertyType.String, "", "${com.esri.geoevent.solutions.processor.symbol-lookup.symbol-lookup-processor.LBL_SYMBOL_NAME_FIELD}", "${com.esri.geoevent.solutions.processor.geomessage.geomessage-processor.DESC_SYMBOL_NAME_FIELD}", true, false);
	//procSymbolNameEvent.setDependsOn("symbolNameSource=Event");
	//SetGeoEventAllowedFields(procSymbolNameEvent);
	propertyDefinitions.put(procSymbolNameEvent.getPropertyName(), procSymbolNameEvent);
	
	/*PropertyDefinition procSymbolIdSource = new PropertyDefinition("symbolIdSource", 
			PropertyType.String, "", "SymbolId Source", "Source of SymbolId Value", true, false);
	procSymbolIdSource.addAllowedValue("Event");
	propertyDefinitions.put(procSymbolIdSource.getPropertyName(), procSymbolIdSource);*/
	
	PropertyDefinition procSymbolIdEvent = new PropertyDefinition("symbolIdEvent", 
			PropertyType.String, "", "${com.esri.geoevent.solutions.processor.symbol-lookup.symbol-lookup-processor.LBL_SYMBOL_ID_FIELD}", "${com.esri.geoevent.solutions.processor.geomessage.geomessage-processor.DESC_SYMBOL_ID_FIELD}", true, false);
	//procSymbolIdEvent.setDependsOn("symbolIdSource=Event");
	//SetGeoEventAllowedFields(procSymbolIdEvent);
	propertyDefinitions.put(procSymbolIdEvent.getPropertyName(), procSymbolIdEvent);
	
}
 
开发者ID:Esri,项目名称:defense-solutions-proofs-of-concept,代码行数:27,代码来源:SymbolNameToIdProcessorDefinition.java

示例5: EVCProcessorDefinition

import com.esri.ges.core.property.PropertyType; //导入方法依赖的package包/类
public EVCProcessorDefinition()
{
	try {
		PropertyDefinition pdInterval = new PropertyDefinition("interval", PropertyType.Long, 10000, "Interval (miliseconds)", "Amount of time between which new messages with the same track id will be dropped", true, false);
		propertyDefinitions.put(pdInterval.getPropertyName(), pdInterval);
		
		List<LabeledValue> allowedVals = new ArrayList<LabeledValue>();
		allowedVals.add(new LabeledValue(allowedValInterval,"byInterval" ));
		allowedVals.add(new LabeledValue(allowedValMaxPerInterval, "maxPerInterval"));
		PropertyDefinition pdFilterType = new PropertyDefinition("filterType", PropertyType.String, allowedValInterval, lblFilterType, descFilterType, true, false, allowedVals);

		propertyDefinitions.put(pdFilterType.getPropertyName(), pdFilterType);
		
		PropertyDefinition pdEPI = new PropertyDefinition("epi", PropertyType.Long, 100, lblMaxPerInterval, descMaxPerInterval, true, false);
		pdEPI.setDependsOn("filterType=maxPerInterval");
		propertyDefinitions.put(pdEPI.getPropertyName(), pdEPI);
		
	} catch (PropertyException e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	}
}
 
开发者ID:Esri,项目名称:defense-solutions-proofs-of-concept,代码行数:23,代码来源:EVCProcessorDefinition.java

示例6: AddXYZProcessorDefinition

import com.esri.ges.core.property.PropertyType; //导入方法依赖的package包/类
public AddXYZProcessorDefinition() throws PropertyException {
	PropertyDefinition pdGeometryFieldName = new PropertyDefinition("geofield", PropertyType.String, "", "${com.esri.geoevent.solutions.processor.addxyz.addxyz-processor.LBL_GEO_FIELD}", "${com.esri.geoevent.solutions.processor.addxyz.addxyz-processor.DESC_GEO_FIELD}", true, false);
	propertyDefinitions.put(pdGeometryFieldName.getPropertyName(), pdGeometryFieldName);
	
	PropertyDefinition pdGEDName = new PropertyDefinition("gedName", PropertyType.String, "AddXYZDef", "${com.esri.geoevent.solutions.processor.addxyz.addxyz-processor.LBL_GEOEVENT_DEFINITION_NAME}", "${com.esri.geoevent.solutions.processor.addxyz.addxyz-processor.DESC_GEOEVENT_DEFINITION_NAME}", true, false);
	propertyDefinitions.put(pdGEDName.getPropertyName(), pdGEDName);
	
	PropertyDefinition pdXField = new PropertyDefinition("xfield", PropertyType.String, "x", "${com.esri.geoevent.solutions.processor.addxyz.addxyz-processor.LBL_X_FIELD}", "${com.esri.geoevent.solutions.processor.addxyz.addxyz-processor.DESC_X_FIELD}", true, false);
	propertyDefinitions.put(pdXField.getPropertyName(), pdXField);
	
	PropertyDefinition pdYField = new PropertyDefinition("yfield", PropertyType.String, "y", "${com.esri.geoevent.solutions.processor.addxyz.addxyz-processor.LBL_Y_FIELD}", "${com.esri.geoevent.solutions.processor.addxyz.addxyz-processor.DESC_Y_FIELD}", true, false);
	propertyDefinitions.put(pdYField.getPropertyName(), pdYField);
	
	PropertyDefinition pdZField = new PropertyDefinition("zfield", PropertyType.String, "z", "${com.esri.geoevent.solutions.processor.addxyz.addxyz-processor.LBL_Z_FIELD}", "${com.esri.geoevent.solutions.processor.addxyz.addxyz-processor.DESC_Z_FIELD}", false, false);
	propertyDefinitions.put(pdZField.getPropertyName(), pdZField);
}
 
开发者ID:Esri,项目名称:defense-solutions-proofs-of-concept,代码行数:17,代码来源:AddXYZProcessorDefinition.java

示例7: EventJoinerProcessorDefinition

import com.esri.ges.core.property.PropertyType; //导入方法依赖的package包/类
public EventJoinerProcessorDefinition() throws PropertyException{
	PropertyDefinition pdJoin = new PropertyDefinition("join", PropertyType.String, "TRACK_ID", lblJoinField, descJoinField, true, false);
	propertyDefinitions.put(pdJoin.getPropertyName(), pdJoin);
	PropertyDefinition pdInDefs = new PropertyDefinition(
			"indefs",
			PropertyType.String,
			2, lblInDefs, 
			descInDefs,
			true, false);
	propertyDefinitions.put(pdInDefs.getPropertyName(), pdInDefs);

	PropertyDefinition pdOutDef = new PropertyDefinition(
			"outdef", PropertyType.String, "", lblOutDef,
			descOutDef, true, false);
	propertyDefinitions.put(pdOutDef.getPropertyName(),
			pdOutDef);
}
 
开发者ID:Esri,项目名称:defense-solutions-proofs-of-concept,代码行数:18,代码来源:EventJoinerProcessorDefinition.java

示例8: IncrementalPointProcessorDefinition

import com.esri.ges.core.property.PropertyType; //导入方法依赖的package包/类
public IncrementalPointProcessorDefinition() throws PropertyException {

		
		List<LabeledValue> allowedIn = new ArrayList<LabeledValue>();
		allowedIn.add(new LabeledValue("${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.SEGMENTATION_TYPE_DISTANCE_LBL}","distance"));
		allowedIn.add(new LabeledValue("${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.SEGMENTATION_TYPE_TIME_LBL}","time"));
		allowedIn.add(new LabeledValue("${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.SEGMENTATION_TYPE_VERTEX_LBL}","vertex"));
		
		PropertyDefinition pdInterval= new PropertyDefinition("intervalType", PropertyType.String, "", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.LBL_INTERVAL_TYPE}", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.DESC_INTERVAL_TYPE}",true, false, allowedIn);
		propertyDefinitions.put(pdInterval.getPropertyName(), pdInterval);
		PropertyDefinition pdTimeInterval = new PropertyDefinition("timeinterval", PropertyType.Long, 600000, "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.LBL_TIME_INTERVAL}", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.DESC_TIME_INTERVAL}", false, false);
		pdTimeInterval.setDependsOn("intervalType=time");
		propertyDefinitions.put(pdTimeInterval.getPropertyName(),pdTimeInterval);
		PropertyDefinition pdDistInterval = new PropertyDefinition("distanceinterval", PropertyType.Double, 0.0, "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.LBL_DISTANCE_INTERVAL}", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.DESC_DISTANCE_INTERVAL}", false, false);
		pdDistInterval.setDependsOn("intervalType=distance");
		propertyDefinitions.put(pdDistInterval.getPropertyName(),pdDistInterval);
		PropertyDefinition pdwkid = new PropertyDefinition("wkid", PropertyType.Integer, "", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.LBL_PROCESS_WKID}", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.DESC_PROCESS_WKID}",true, false);
		propertyDefinitions.put(pdwkid.getPropertyName(), pdwkid);
		PropertyDefinition pdOutDef = new PropertyDefinition("outdefname", PropertyType.String, "", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.LBL_OUTDEFNAME}", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.DESC_OUTDEFNAME}", true, false);
		propertyDefinitions.put(pdOutDef.getPropertyName(), pdOutDef);
	}
 
开发者ID:Esri,项目名称:defense-solutions-proofs-of-concept,代码行数:22,代码来源:IncrementalPointProcessorDefinition.java

示例9: ReverseGeocoderProcessorDefinition

import com.esri.ges.core.property.PropertyType; //导入方法依赖的package包/类
public ReverseGeocoderProcessorDefinition()
{
	try
	{
		PropertyDefinition agolSearchDistanceProperty = new PropertyDefinition(AGOL_SEARCHDISTANCE_PROPERTY, PropertyType.Integer, 100, "ArcGIS Online Reverse Geocoder Search Radius (m)", "The distance from the geoevent's location within which a matching address should be searched.", true, false);
		propertyDefinitions.put(AGOL_SEARCHDISTANCE_PROPERTY, agolSearchDistanceProperty);

		PropertyDefinition newGeoEventDefinitionNameProperty = new PropertyDefinition(NEWGEOEVENTDEFINITION_PROPERTY, PropertyType.String, "NewGeoEventDefinition", "Resulting GeoEvent Definition", "The incoming GeoEvent will be augmented with the address fields from the reverse geocode and a new GeoEvent Definition will be created.", true, false);
		propertyDefinitions.put(NEWGEOEVENTDEFINITION_PROPERTY, newGeoEventDefinitionNameProperty);
	}
	catch (PropertyException ex)
	{
		;
	}
	catch (Exception error)
	{
		LOGGER.error("INIT_ERROR", error.getMessage());
		LOGGER.info(error.getMessage(), error);
	}

}
 
开发者ID:Esri,项目名称:reverse-geocoder-for-geoevent,代码行数:22,代码来源:ReverseGeocoderProcessorDefinition.java

示例10: Line2PtProcessorDefinition

import com.esri.ges.core.property.PropertyType; //导入方法依赖的package包/类
public Line2PtProcessorDefinition() throws PropertyException {
	List<LabeledValue> allowedIn = new ArrayList<LabeledValue>();
	allowedIn.add(new LabeledValue("${com.esri.geoevent.solutions.processor.line2pt.line2pt-processor.STARTPOINT_LBL}","start"));
	allowedIn.add(new LabeledValue("${com.esri.geoevent.solutions.processor.line2pt.line2pt-processor.ENDPOINT_LBL}","end"));
	allowedIn.add(new LabeledValue("${com.esri.geoevent.solutions.processor.line2pt.line2pt-processor.MIDPOINT_LBL}","mid"));
	
	PropertyDefinition pdPoint = new PropertyDefinition("pointType", PropertyType.String, "", "${com.esri.geoevent.solutions.processor.line2pt.line2pt-processor.LBL_POINT_TYPE}", "${com.esri.geoevent.solutions.processor.line2pt.line2pt-processor.DESC_POINT_TYPE}",true, false, allowedIn);
	propertyDefinitions.put(pdPoint.getPropertyName(), pdPoint);
	PropertyDefinition pdwkid = new PropertyDefinition("wkid", PropertyType.Integer, "", "${com.esri.geoevent.solutions.processor.line2pt.line2pt-processor.LBL_PROCESS_WKID}", "${com.esri.geoevent.solutions.processor.line2pt.line2pt-processor.DESC_PROCESS_WKID}",true, false);
	propertyDefinitions.put(pdwkid.getPropertyName(), pdwkid);
	PropertyDefinition pdOutDef = new PropertyDefinition("outdefname", PropertyType.String, "", "${com.esri.geoevent.solutions.processor.line2pt.line2pt-processor.LBL_OUTDEFNAME}", "${com.esri.geoevent.solutions.processor.line2pt.line2pt-processor.DESC_OUTDEFNAME}", true, false);
	propertyDefinitions.put(pdOutDef.getPropertyName(), pdOutDef);
}
 
开发者ID:Esri,项目名称:defense-solutions-proofs-of-concept,代码行数:14,代码来源:Line2PtProcessorDefinition.java

示例11: GeoNamesOSMPOIProcessorDefinition

import com.esri.ges.core.property.PropertyType; //导入方法依赖的package包/类
public GeoNamesOSMPOIProcessorDefinition()
{
	try
	{
		PropertyDefinition geoNamesUsernameProperty = new PropertyDefinition(GEONAMES_USERNAME_PROPERTY, PropertyType.String, "", "GeoNames Username (optional)", "If you purchased GeoNames Premium services, enter your username. If blank, a more limited free account will be used.", false, false);
		propertyDefinitions.put(GEONAMES_USERNAME_PROPERTY, geoNamesUsernameProperty);

		PropertyDefinition geoNamesOSMPOIsRadiusProperty = new PropertyDefinition(GEONAMES_OSMPOIsRADIUS_PROPERTY, PropertyType.Double, 1, "GeoNames OpenStreetmap POI Search Radius (Km)", "The distance from the geoevent's location within which to search for OpenStreetmap Points of Interest. Max for a free account = 1, max for a premium account = 3.", true, false);
		propertyDefinitions.put(GEONAMES_OSMPOIsRADIUS_PROPERTY, geoNamesOSMPOIsRadiusProperty);

		PropertyDefinition geoNamesOSMPOIsMaxRowsProperty = new PropertyDefinition(GEONAMES_OSMPOIsMAXROWS_PROPERTY, PropertyType.Integer, 50, "GeoNames OpenStreetmap POI Max Rows", "The maximum number of OpenStreetmap Points of Interest to return. Max for a free account = 50, max for a premium account = 150.", true, false);
		propertyDefinitions.put(GEONAMES_OSMPOIsMAXROWS_PROPERTY, geoNamesOSMPOIsMaxRowsProperty);

		GeoEventDefinition ged = new DefaultGeoEventDefinition();
		ged.setName("GeoNamesOSMPOI");
		List<FieldDefinition> fds = new ArrayList<FieldDefinition>();
		fds.add(new DefaultFieldDefinition("trackId", FieldType.String, "TRACK_ID"));
		fds.add(new DefaultFieldDefinition("timestamp", FieldType.Date, "TIME_START"));
		fds.add(new DefaultFieldDefinition("incidentId", FieldType.String));
		fds.add(new DefaultFieldDefinition("typeName", FieldType.String));
		fds.add(new DefaultFieldDefinition("distance", FieldType.Double));
		fds.add(new DefaultFieldDefinition("name", FieldType.String));
		fds.add(new DefaultFieldDefinition("lng", FieldType.Double));
		fds.add(new DefaultFieldDefinition("typeClass", FieldType.String));
		fds.add(new DefaultFieldDefinition("lat", FieldType.Double));
		fds.add(new DefaultFieldDefinition("geometry", FieldType.Geometry, "GEOMETRY"));
		ged.setFieldDefinitions(fds);
		geoEventDefinitions.put(ged.getName(), ged);

	}
	catch (PropertyException ex)
	{
		;
	}
	catch (ConfigurationException e)
	{
		// TODO Auto-generated catch block
		e.printStackTrace();
	}
}
 
开发者ID:Esri,项目名称:geonames-for-geoevent,代码行数:41,代码来源:GeoNamesOSMPOIProcessorDefinition.java

示例12: BearingProcessorDefinition

import com.esri.ges.core.property.PropertyType; //导入方法依赖的package包/类
public BearingProcessorDefinition() throws PropertyException {
	
	List<LabeledValue> oSrcValues = new ArrayList<LabeledValue>();
	oSrcValues.add(new LabeledValue(srcGeoLbl, "geo"));
	oSrcValues.add(new LabeledValue(srcCoordLbl, "coord"));
	
	List<LabeledValue> dSrcValues = new ArrayList<LabeledValue>();
	dSrcValues.add(new LabeledValue(srcGeoLbl, "geo"));
	dSrcValues.add(new LabeledValue(srcCoordLbl, "coord"));
	
	PropertyDefinition pdOriginSource = new PropertyDefinition("osrc", PropertyType.String, srcGeoLbl, lblOSrc, descOSrc, true, false, oSrcValues);
	propertyDefinitions.put(pdOriginSource.getPropertyName(), pdOriginSource);

	PropertyDefinition pdOGeoFld = new PropertyDefinition("oGeoFld", PropertyType.String, "ORIGIN_GEOMETRY_FIELD", lblOFld, descOFld, false, false);
	pdOGeoFld.setDependsOn("osrc=geo");
	propertyDefinitions.put(pdOGeoFld.getPropertyName(), pdOGeoFld);
	
	PropertyDefinition pdOXField = new PropertyDefinition("oxFld", PropertyType.String, "ORIGIN_X_FIELD", lblOX, descOX, false, false);
	pdOXField.setDependsOn("osrc=coord");
	propertyDefinitions.put(pdOXField.getPropertyName(), pdOXField);
	
	PropertyDefinition pdOYField = new PropertyDefinition("oyFld", PropertyType.String, "ORIGIN_Y_FIELD", lblOY, descOY, false, false);
	pdOYField.setDependsOn("osrc=coord");
	propertyDefinitions.put(pdOYField.getPropertyName(),pdOYField);
	
	PropertyDefinition pdDestinationSource = new PropertyDefinition("dsrc", PropertyType.String, defaultSrc, lblDSrc, "", true, false, dSrcValues);
	propertyDefinitions.put(pdDestinationSource.getPropertyName(),pdDestinationSource);
			
	PropertyDefinition pdDGeoFld = new PropertyDefinition("dGeoFld", PropertyType.String, "DESTINATION_GEOMETRY_FIELD", lblDFld, descDFld, false, false);
	pdDGeoFld.setDependsOn("dsrc=geo");
	propertyDefinitions.put(pdDGeoFld.getPropertyName(),pdDGeoFld);
	
	PropertyDefinition pdDXField = new PropertyDefinition("dxFld", PropertyType.String, "DESTINATION_X_FIELD", lblDX, descDX, false, false);
	pdDXField.setDependsOn("dsrc=coord");
	propertyDefinitions.put(pdDXField.getPropertyName(),pdDXField);
	
	PropertyDefinition pdDYField = new PropertyDefinition("dyFld", PropertyType.String, "DESTINATION_Y_FIELD", lblDY, descDY, false, false);
	pdDYField.setDependsOn("dsrc=coord");
	propertyDefinitions.put(pdDYField.getPropertyName(),pdDYField);
	
	PropertyDefinition pdBearingField = new PropertyDefinition("newfld", PropertyType.String, "bearing", lblNewFld, descNewFld, true, false);
	propertyDefinitions.put(pdBearingField.getPropertyName(), pdBearingField);
	
	PropertyDefinition pdGenerateGeometry = new PropertyDefinition("generateGeo", PropertyType.Boolean, true, lblGenerateGeo, descGenerateGeo, true, false);
	propertyDefinitions.put(pdGenerateGeometry.getPropertyName(), pdGenerateGeometry);
	
	PropertyDefinition pdOutWkid = new PropertyDefinition("wkidout", PropertyType.Integer, 4326, lblWkidOut, descWkidOut, "generateGeo=true", false, false);
	propertyDefinitions.put(pdOutWkid.getPropertyName(), pdOutWkid);
	
	PropertyDefinition pdNewGeoDef = new PropertyDefinition("newdef", PropertyType.String, "calculate_bearing", lblEventDefName, descEventDefName, true, false);
	propertyDefinitions.put(pdNewGeoDef.getPropertyName(), pdNewGeoDef);
}
 
开发者ID:Esri,项目名称:defense-solutions-proofs-of-concept,代码行数:53,代码来源:BearingProcessorDefinition.java


注:本文中的com.esri.ges.core.property.PropertyType.String方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。