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


Java MetaDataPropertyType类代码示例

本文整理汇总了Java中net.opengis.gml.MetaDataPropertyType的典型用法代码示例。如果您正苦于以下问题:Java MetaDataPropertyType类的具体用法?Java MetaDataPropertyType怎么用?Java MetaDataPropertyType使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: getVersionMetaData

import net.opengis.gml.MetaDataPropertyType; //导入依赖的package包/类
public static MetaDataPropertyType getVersionMetaData(String title, String definition, String version){
    MetaDataPropertyType xb_versionMetadataProperty = MetaDataPropertyType.Factory.newInstance();
    if (title != null) {
        xb_versionMetadataProperty.setTitle( title );
    }
    if (definition != null) {
        xb_versionMetadataProperty.setHref( definition );
    }
    
    if (version == null) {
        version = "unknown";
    }

    VersionDocument xb_versionDoc = VersionDocument.Factory.newInstance();
    xb_versionDoc.setVersion( version );
    XmlHelper.append( xb_versionMetadataProperty, xb_versionDoc );
    return xb_versionMetadataProperty;
}
 
开发者ID:ioos,项目名称:i52n-sos,代码行数:19,代码来源:IoosEncoderUtil.java

示例2: notifyChanged

import net.opengis.gml.MetaDataPropertyType; //导入依赖的package包/类
/**
 * This handles model notifications by calling {@link #updateChildren} to update any cached
 * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void notifyChanged(Notification notification) {
	updateChildren(notification);

	switch (notification.getFeatureID(MetaDataPropertyType.class)) {
		case GmlPackage.META_DATA_PROPERTY_TYPE__ABOUT:
		case GmlPackage.META_DATA_PROPERTY_TYPE__ACTUATE:
		case GmlPackage.META_DATA_PROPERTY_TYPE__ARCROLE:
		case GmlPackage.META_DATA_PROPERTY_TYPE__HREF:
		case GmlPackage.META_DATA_PROPERTY_TYPE__REMOTE_SCHEMA:
		case GmlPackage.META_DATA_PROPERTY_TYPE__ROLE:
		case GmlPackage.META_DATA_PROPERTY_TYPE__SHOW:
		case GmlPackage.META_DATA_PROPERTY_TYPE__TITLE:
		case GmlPackage.META_DATA_PROPERTY_TYPE__TYPE:
			fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
			return;
		case GmlPackage.META_DATA_PROPERTY_TYPE__ANY:
			fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
			return;
	}
	super.notifyChanged(notification);
}
 
开发者ID:markus1978,项目名称:citygml4emf,代码行数:30,代码来源:MetaDataPropertyTypeItemProvider.java

示例3: eSet

import net.opengis.gml.MetaDataPropertyType; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
	switch (featureID) {
		case GmlPackage.ABSTRACT_GML_TYPE__META_DATA_PROPERTY:
			getMetaDataProperty().clear();
			getMetaDataProperty().addAll((Collection<? extends MetaDataPropertyType>)newValue);
			return;
		case GmlPackage.ABSTRACT_GML_TYPE__DESCRIPTION:
			setDescription((StringOrRefType)newValue);
			return;
		case GmlPackage.ABSTRACT_GML_TYPE__NAME_GROUP:
			((FeatureMap.Internal)getNameGroup()).set(newValue);
			return;
		case GmlPackage.ABSTRACT_GML_TYPE__NAME:
			getName().clear();
			getName().addAll((Collection<? extends CodeType>)newValue);
			return;
		case GmlPackage.ABSTRACT_GML_TYPE__ID:
			setId((String)newValue);
			return;
	}
	super.eSet(featureID, newValue);
}
 
开发者ID:markus1978,项目名称:citygml4emf,代码行数:30,代码来源:AbstractGMLTypeImpl.java

示例4: getText

import net.opengis.gml.MetaDataPropertyType; //导入依赖的package包/类
/**
 * This returns the label text for the adapted class.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public String getText(Object object) {
	String label = ((MetaDataPropertyType)object).getAbout();
	return label == null || label.length() == 0 ?
		getString("_UI_MetaDataPropertyType_type") :
		getString("_UI_MetaDataPropertyType_type") + " " + label;
}
 
开发者ID:markus1978,项目名称:citygml4emf,代码行数:14,代码来源:MetaDataPropertyTypeItemProvider.java

示例5: getMetaDataProperty

import net.opengis.gml.MetaDataPropertyType; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EList<MetaDataPropertyType> getMetaDataProperty() {
	if (metaDataProperty == null) {
		metaDataProperty = new EObjectContainmentEList<MetaDataPropertyType>(MetaDataPropertyType.class, this, GmlPackage.ABSTRACT_GML_TYPE__META_DATA_PROPERTY);
	}
	return metaDataProperty;
}
 
开发者ID:markus1978,项目名称:citygml4emf,代码行数:12,代码来源:AbstractGMLTypeImpl.java

示例6: getIoosVersionMetaData

import net.opengis.gml.MetaDataPropertyType; //导入依赖的package包/类
public static MetaDataPropertyType getIoosVersionMetaData(){
    return getVersionMetaData(IoosSosConstants.IOOS_TEMPLATE_VERSION,
            IoosSosConstants.IOOS_VERSION_DEFINITION, IoosSosConstants.IOOS_VERSION_M10);
}
 
开发者ID:ioos,项目名称:i52n-sos,代码行数:5,代码来源:IoosEncoderUtil.java

示例7: getSoftwareVersionMetaData

import net.opengis.gml.MetaDataPropertyType; //导入依赖的package包/类
public static MetaDataPropertyType getSoftwareVersionMetaData(){
    return getVersionMetaData(IoosSosConstants.SOFTWARE_VERSION, null,
            Ioos52nSosVersionHandler.getIoosVersion());
}
 
开发者ID:ioos,项目名称:i52n-sos,代码行数:5,代码来源:IoosEncoderUtil.java

示例8: addVersionMetadata

import net.opengis.gml.MetaDataPropertyType; //导入依赖的package包/类
private void addVersionMetadata(XmlObject xbExtendedCapabilities, MetaDataPropertyType mdpt){
    MetaDataPropertyDocument xbIoosMilestoneMetaDoc = MetaDataPropertyDocument.Factory.newInstance();
    xbIoosMilestoneMetaDoc.addNewMetaDataProperty().set(mdpt);        
    XmlHelper.append(xbExtendedCapabilities, xbIoosMilestoneMetaDoc);        
}
 
开发者ID:ioos,项目名称:i52n-sos,代码行数:6,代码来源:IoosOwsEncoderv110.java

示例9: createGmlMetaDataPropertyType

import net.opengis.gml.MetaDataPropertyType; //导入依赖的package包/类
@Provides
@Override
public MetaDataPropertyType createGmlMetaDataPropertyType() {
    return MetaDataPropertyType.Factory.newInstance();
}
 
开发者ID:moosbusch,项目名称:xbLIDO,代码行数:6,代码来源:DefaultLidoModule.java

示例10: createGmlMetaDataPropertyType

import net.opengis.gml.MetaDataPropertyType; //导入依赖的package包/类
public MetaDataPropertyType createGmlMetaDataPropertyType(); 
开发者ID:moosbusch,项目名称:xbLIDO,代码行数:2,代码来源:GmlModule.java


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