• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Java MethodProperty类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: getContainerProperty

import com.vaadin.data.util.MethodProperty; //导入依赖的package包/类
@Override
public Property<?> getContainerProperty(Object itemId, Object propertyId) {
	if (this.isObjectSupported(itemId) == false) {
		return null;
	}
       if (propertyId.equals(PROPERTY_ID)) {
           return new MethodProperty<Object>(getType(propertyId), 
           						new AttributeItem(itemId), ATTRIBUTEITEM_ID, null);
       }
       if (propertyId.equals(PROPERTY_CATEGORY)) {
           return new MethodProperty<Object>(getType(propertyId), 
           						new AttributeItem(itemId), ATTRIBUTEITEM_CATEGORY, null);
       }
       if (propertyId.equals(PROPERTY_DATATYPE)) {
           return new MethodProperty<Object>(getType(propertyId), 
           						new AttributeItem(itemId), ATTRIBUTEITEM_DATATYPE, null);
       }
       if (propertyId.equals(PROPERTY_VALUES)) {
           return new MethodProperty<Object>(getType(propertyId), 
           						new AttributeItem(itemId), ATTRIBUTEITEM_VALUES, null);
       }
	return null;
}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:24,代码来源:AttributeContainer.java


示例2: getContainerProperty

import com.vaadin.data.util.MethodProperty; //导入依赖的package包/类
@Override
	public Property<Object> getContainerProperty(Object itemId, Object propertyId) {
		GitEntry entry = this.map.get(itemId);
		if (entry == null) {
//			logger.error("unknown itemId: " + itemId);
			return null;
		}
        if (propertyId.equals(PROPERTY_NAME)) {
            return new MethodProperty<Object>(getType(propertyId),
                    new StatusItem(entry), GITSTATUSITEM_NAME, null);
        }
        if (propertyId.equals(PROPERTY_STATUS)) {
            return new MethodProperty<Object>(getType(propertyId),
                    new StatusItem(entry), GITSTATUSITEM_STATUS, null);
        }
        if (propertyId.equals(PROPERTY_ENTRY)) {
            return new MethodProperty<Object>(getType(propertyId),
                    new StatusItem(entry), GITSTATUSITEM_ENTRY, null);
        }
		return null;
	}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:22,代码来源:GitStatusContainer.java


示例3: getContainerProperty

import com.vaadin.data.util.MethodProperty; //导入依赖的package包/类
@Override
public Property<?> getContainerProperty(Object itemId, Object propertyId) {
	if (this.isSupported(itemId) == false) {
		return null;
	}
	
       if (propertyId.equals(PROPERTY_ID)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPPIPItem(itemId), PDPPIPITEM_ID, null);
       }

       if (propertyId.equals(PROPERTY_NAME)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPPIPItem(itemId), PDPPIPITEM_NAME, null);
       }
       
       if (propertyId.equals(PROPERTY_DESCRIPTION)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPPIPItem(itemId), PDPPIPITEM_DESCRIPTION, null);
       }
       
	return null;
}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:24,代码来源:PDPPIPContainer.java


示例4: getContainerProperty

import com.vaadin.data.util.MethodProperty; //导入依赖的package包/类
@Override
public Property<?> getContainerProperty(Object itemId, Object propertyId) {
	if (this.isObjectSupported(itemId) == false) {
		return null;
	}
       if (propertyId.equals(PROPERTY_VALUE)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new AttributeValueItem((ContainerAttribute) itemId), ATTRIBUTEVALUEITEM_VALUE, null);
       }

       if (propertyId.equals(PROPERTY_SOURCE)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new AttributeValueItem((ContainerAttribute) itemId), ATTRIBUTEVALUEITEM_SOURCE, null);
       }
	return null;
}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:17,代码来源:AttributeValueContainer.java


示例5: addMethodProperties

import com.vaadin.data.util.MethodProperty; //导入依赖的package包/类
@SuppressWarnings("rawtypes")
protected void addMethodProperties(String prefix, Object bean)
{
    Map<String, Field> fieldMap = new HashMap<String, Field>();
    for (Field f: getFields(bean.getClass(), Modifier.PROTECTED | Modifier.PRIVATE))
        fieldMap.put(f.getName(), f);
    
    for (PropertyDescriptor prop: getGettersAndSetters(bean.getClass()))
    {
        if (!fieldMap.containsKey(prop.getName()))
            continue;
        
        String fullName = prefix + prop.getName();
        
        //System.out.println(prop.getName() + ", get=" + prop.getReadMethod() + ", set=" + prop.getWriteMethod() + ", hidden=" + prop.isHidden());
        addItemProperty(fullName, new MethodProperty(prop.getPropertyType(), bean, prop.getReadMethod(), prop.getWriteMethod()));
    }
}
 
开发者ID:sensiasoft,项目名称:sensorhub,代码行数:19,代码来源:MyBeanItem.java


示例6: addContainerProperty

import com.vaadin.data.util.MethodProperty; //导入依赖的package包/类
/**
 * This method adds a new property to all items in the container. The property id, data type and default value of
 * the new Property are given as parameters. HbnContainer automatically adds all fields that are mapped by Hibernate
 * to the database. With this method we can add a property to the container that is contained in the pojo but not
 * Hibernate mapped.
 */
@Override
public boolean addContainerProperty(Object propertyId, Class<?> classType, Object defaultValue)
		throws UnsupportedOperationException
{
	logger.executionTrace();

	boolean propertyExists = true;

	try
	{
		new MethodProperty<Object>(this.entityType.newInstance(), propertyId.toString());
	}
	catch (Exception e)
	{
		logger.debug("Note: this is not an error: " + e);
		propertyExists = false;
	}

	addedProperties.put(propertyId.toString(), classType);
	return propertyExists;
}
 
开发者ID:alejandro-du,项目名称:enterprise-app,代码行数:28,代码来源:CustomHbnContainer.java


示例7: getContainerProperty

import com.vaadin.data.util.MethodProperty; //导入依赖的package包/类
@Override
public Property<?> getContainerProperty(Object itemId, Object propertyId) {
	if (this.isObjectSupported(itemId) == false) {
		return null;
	}
       if (propertyId.equals(PROPERTY_NAME)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new ExpressionItem(itemId), EXPRESSIONITEM_NAME, null);
       }

       if (propertyId.equals(PROPERTY_ID)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new ExpressionItem(itemId), EXPRESSIONITEM_ID, null);
       }
	
       if (propertyId.equals(PROPERTY_DATATYPE)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new ExpressionItem(itemId), EXPRESSIONITEM_DATATYPE, null);
       }
	
       if (propertyId.equals(PROPERTY_ID_SHORT)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new ExpressionItem(itemId), EXPRESSIONITEM_ID_SHORT, null);
       }
	
       if (propertyId.equals(PROPERTY_DATATYPE_SHORT)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new ExpressionItem(itemId), EXPRESSIONITEM_DATATYPE_SHORT, null);
       }
	
	return null;
}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:33,代码来源:ExpressionContainer.java


示例8: getContainerProperty

import com.vaadin.data.util.MethodProperty; //导入依赖的package包/类
@Override
public Property<?> getContainerProperty(Object itemId, Object propertyId) {
	if (itemId instanceof PDPPolicy == false) {
		return null;
	}
	
	if (propertyId.equals(PROPERTY_ID)) {
		return new MethodProperty<Object>(getType(propertyId),
						new PDPPolicyItem((PDPPolicy) itemId), PDPPOLICYITEM_ID, null);
	}

	if (propertyId.equals(PROPERTY_NAME)) {
		return new MethodProperty<Object>(getType(propertyId),
						new PDPPolicyItem((PDPPolicy) itemId), PDPPOLICYITEM_NAME, null);
	}
	
	if (propertyId.equals(PROPERTY_VERSION)) {
		return new MethodProperty<Object>(getType(propertyId),
						new PDPPolicyItem((PDPPolicy) itemId), PDPPOLICYITEM_VERSION, null);
	}

	if (propertyId.equals(PROPERTY_DESCRIPTION)) {
		return new MethodProperty<Object>(getType(propertyId),
						new PDPPolicyItem((PDPPolicy) itemId), PDPPOLICYITEM_DESCRIPTION, null);
	}
	
	if (propertyId.equals(PROPERTY_ISROOT)) {
		return new MethodProperty<Object>(getType(propertyId),
						new PDPPolicyItem((PDPPolicy) itemId), PDPPOLICYITEM_ISROOT, PDPPOLICYITEM_SETISROOT);
	}
	
	return null;
}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:34,代码来源:PDPPolicyContainer.java


示例9: getContainerProperty

import com.vaadin.data.util.MethodProperty; //导入依赖的package包/类
@Override
public Property<?> getContainerProperty(Object itemId, Object propertyId) {
       if (propertyId.equals(PROPERTY_ID)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPItem((PDP) itemId), PDPITEM_ID, null);
       }

       if (propertyId.equals(PROPERTY_NAME)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPItem((PDP) itemId), PDPITEM_NAME, null);
       }

       if (propertyId.equals(PROPERTY_DESCRIPTION)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPItem((PDP) itemId), PDPITEM_DESCRIPTION, null);
       }

       if (propertyId.equals(PROPERTY_ICON)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPItem((PDP) itemId), PDPITEM_ICON, null);
       }

       if (propertyId.equals(PROPERTY_STATUS)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPItem((PDP) itemId), PDPITEM_STATUS, null);
       }

       if (propertyId.equals(PROPERTY_POLICIES)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPItem((PDP) itemId), PDPITEM_POLICIES, null);
       }

       if (propertyId.equals(PROPERTY_PIPCONFIG)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPItem((PDP) itemId), PDPITEM_PIPCONFIG, null);
       }
       
	return null;
}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:40,代码来源:PDPContainer.java


示例10: getContainerProperty

import com.vaadin.data.util.MethodProperty; //导入依赖的package包/类
@SuppressWarnings("rawtypes")
@Override
public Property getContainerProperty(Object itemId, Object propertyId) {
	if (!mapObjectsProperties.containsKey(itemId)) {
		mapObjectsProperties.put(itemId, new HashMap<String, Property>(propertyIds.size()));
	}
	if (!mapObjectsProperties.get(itemId).containsKey(propertyId)) {
		mapObjectsProperties.get(itemId).put((String) propertyId, new MethodProperty(itemId, (String) propertyId));
	}
	return mapObjectsProperties.get(itemId).get(propertyId);
}
 
开发者ID:frincon,项目名称:abstractform,代码行数:12,代码来源:TableContainer.java


示例11: refresh

import com.vaadin.data.util.MethodProperty; //导入依赖的package包/类
public void refresh(Product product) {
    // We avoid updating the whole table through the backend here so we can
    // get a partial update for the grid
    BeanItem<Product> item = getContainer().getItem(product);
    if (item != null) {
        // Updated product
        MethodProperty p = (MethodProperty) item.getItemProperty("id");
        p.fireValueChange();
    } else {
        // New product
        getContainer().addBean(product);
    }
}
 
开发者ID:vaadin,项目名称:archetype-application-example,代码行数:14,代码来源:ProductGrid.java


示例12: getContainerProperty

import com.vaadin.data.util.MethodProperty; //导入依赖的package包/类
@Override
public Property<?> getContainerProperty(Object itemId, Object propertyId) {
	if ((itemId instanceof PDPPolicy) == false) {
		return null;
	}
	
       if (propertyId.equals(PROPERTY_ID)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPPolicyItem((PDPPolicy) itemId), PDPPOLICYITEM_ID, null);
       }

       if (propertyId.equals(PROPERTY_NAME)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPPolicyItem((PDPPolicy) itemId), PDPPOLICYITEM_NAME, null);
       }
       
       if (propertyId.equals(PROPERTY_VERSION)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPPolicyItem((PDPPolicy) itemId), PDPPOLICYITEM_VERSION, null);
       }

       if (propertyId.equals(PROPERTY_DESCRIPTION)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPPolicyItem((PDPPolicy) itemId), PDPPOLICYITEM_DESCRIPTION, null);
       }
       
       if (propertyId.equals(PROPERTY_ISROOT)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPPolicyItem((PDPPolicy) itemId), PDPPOLICYITEM_ISROOT, PDPPOLICYITEM_SETISROOT);
       }
       
       return null;
}
 
开发者ID:att,项目名称:XACML,代码行数:34,代码来源:PDPPolicyContainer.java


示例13: SimpleGraphContainer

import com.vaadin.data.util.MethodProperty; //导入依赖的package包/类
public SimpleGraphContainer() {
	m_vertexContainer = new VertexContainer();
	m_edgeContainer = new BeanContainer<String, SimpleEdge>(SimpleEdge.class);
	m_edgeContainer.setBeanIdProperty("id");
	m_zoomLevelProperty = new MethodProperty<Integer>(Integer.class, this, "getSemanticZoomLevel", "setSemanticZoomLevel");
	m_scaleProperty = new MethodProperty<Double>(Double.class, this, "getScale", "setScale");
}
 
开发者ID:qoswork,项目名称:opennmszh,代码行数:8,代码来源:SimpleGraphContainer.java


示例14: EntityItem

import com.vaadin.data.util.MethodProperty; //导入依赖的package包/类
@SuppressWarnings("unchecked")
public EntityItem(Serializable id)
{
	logger.executionTrace();

	pojo = (T) sessionFactory.getCurrentSession().get(entityType, id);
	// add non-hibernate mapped container properties
	for (String propertyId : addedProperties.keySet())
	{
		addItemProperty(propertyId, new MethodProperty<Object>(pojo, propertyId));
	}
}
 
开发者ID:alejandro-du,项目名称:enterprise-app,代码行数:13,代码来源:CustomHbnContainer.java


示例15: getContainerProperty

import com.vaadin.data.util.MethodProperty; //导入依赖的package包/类
@Override
public Property<?> getContainerProperty(Object itemId, Object propertyId) {
       if (this.isObjectSupported(itemId) == false) {
           return null;
       }

       if (propertyId.equals(PROPERTY_NAME)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PolicyItem(itemId), POLICYITEM_NAME, null);
       }

       if (propertyId.equals(PROPERTY_ID)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PolicyItem(itemId), POLICYITEM_ID, null);
       }

       if (propertyId.equals(PROPERTY_SHORTID)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PolicyItem(itemId), POLICYITEM_SHORTID, null);
       }

       if (propertyId.equals(PROPERTY_ICON)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PolicyItem(itemId), POLICYITEM_ICON, null);
       }

       if (propertyId.equals(PROPERTY_ALGORITHM)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PolicyItem(itemId), POLICYITEM_ALGORITHM, null);
       }

       if (propertyId.equals(PROPERTY_SHORTALGORITHM)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PolicyItem(itemId), POLICYITEM_SHORTALGORITHM, null);
       }

        if (propertyId.equals(PROPERTY_DESCRIPTION)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PolicyItem(itemId), POLICYITEM_DESCRIPTION, null);
       }

       if (propertyId.equals(PROPERTY_STATUS)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PolicyItem(itemId), POLICYITEM_STATUS, null);
       }

       if (propertyId.equals(PROPERTY_ATTRIBUTES)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PolicyItem(itemId), POLICYITEM_ATTRIBUTES, null);
       }

       return null;
}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:54,代码来源:PolicyContainer.java


示例16: getContainerProperty

import com.vaadin.data.util.MethodProperty; //导入依赖的package包/类
@Override
public Property<?> getContainerProperty(Object itemId, Object propertyId) {
	if (this.isObjectSupported(itemId) == false) {
		return null;
	}
       if (propertyId.equals(PROPERTY_NAME)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new ObAdviceItem(itemId), OBADVICE_ITEM_NAME, null);
       }

       if (propertyId.equals(PROPERTY_ID)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new ObAdviceItem(itemId), OBADVICE_ITEM_ID, null);
       }
	
       if (propertyId.equals(PROPERTY_ID_SHORT)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new ObAdviceItem(itemId), OBADVICE_ITEM_ID_SHORT, null);
       }
	
       if (propertyId.equals(PROPERTY_EFFECT)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new ObAdviceItem(itemId), OBADVICE_ITEM_EFFECT, null);
       }
	
       if (propertyId.equals(PROPERTY_DATATYPE)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new ObAdviceItem(itemId), OBADVICE_ITEM_DATATYPE, null);
       }
	
       if (propertyId.equals(PROPERTY_DATATYPE_SHORT)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new ObAdviceItem(itemId), OBADVICE_ITEM_DATATYPE_SHORT, null);
       }
	
       if (propertyId.equals(PROPERTY_CATEGORY)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new ObAdviceItem(itemId), OBADVICE_ITEM_CATEGORY, null);
       }
	
       if (propertyId.equals(PROPERTY_CATEGORY_SHORT)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new ObAdviceItem(itemId), OBADVICE_ITEM_CATEGORY_SHORT, null);
       }
	
	return null;
}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:48,代码来源:ObligationAdviceContainer.java


示例17: getContainerProperty

import com.vaadin.data.util.MethodProperty; //导入依赖的package包/类
@Override
public Property<?> getContainerProperty(Object itemId, Object propertyId) {
	
       if (propertyId.equals(PROPERTY_ID)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPGroupItem((PDPGroup) itemId), PDPITEM_ID, null);
       }

       if (propertyId.equals(PROPERTY_NAME)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPGroupItem((PDPGroup) itemId), PDPITEM_NAME, null);
       }

       if (propertyId.equals(PROPERTY_DESCRIPTION)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPGroupItem((PDPGroup) itemId), PDPITEM_DESCRIPTION, null);
       }

       if (propertyId.equals(PROPERTY_DEFAULT)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPGroupItem((PDPGroup) itemId), PDPITEM_DEFAULT, null);
       }

       if (propertyId.equals(PROPERTY_ICON)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPGroupItem((PDPGroup) itemId), PDPITEM_ICON, null);
       }

       if (propertyId.equals(PROPERTY_STATUS)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPGroupItem((PDPGroup) itemId), PDPITEM_STATUS, null);
       }

       if (propertyId.equals(PROPERTY_PDPS)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPGroupItem((PDPGroup) itemId), PDPITEM_PDPS, null);
       }

       if (propertyId.equals(PROPERTY_POLICIES)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPGroupItem((PDPGroup) itemId), PDPITEM_POLICIES, null);
       }

       if (propertyId.equals(PROPERTY_PIPCONFIG)) {
           return new MethodProperty<Object>(getType(propertyId),
                   new PDPGroupItem((PDPGroup) itemId), PDPITEM_PIPCONFIG, null);
       }
       
       return null;
}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:51,代码来源:PDPGroupContainer.java


示例18: getContainerProperty

import com.vaadin.data.util.MethodProperty; //导入依赖的package包/类
/**
 * Gets the specified property of the specified file Item. The available
 * file properties are "Name", "Size" and "Last Modified". If propertyId is
 * not one of those, <code>null</code> is returned.
 * 
 * @param itemId
 *            the ID of the file whose property is requested.
 * @param propertyId
 *            the property's ID.
 * @return the requested property's value, or <code>null</code>
 */
@Override
public Property<?> getContainerProperty(Object itemId, Object propertyId) {

    if (!(itemId instanceof File)) {
        return null;
    }

    if (propertyId.equals(PROPERTY_NAME)) {
        return new MethodProperty<Object>(getType(propertyId),
                new FileItem((File) itemId), FILEITEM_NAME, null);
    }

    if (propertyId.equals(PROPERTY_ICON)) {
        return new MethodProperty<Object>(getType(propertyId),
                new FileItem((File) itemId), FILEITEM_ICON, null);
    }

    if (propertyId.equals(PROPERTY_SIZE)) {
        return new MethodProperty<Object>(getType(propertyId),
                new FileItem((File) itemId), FILEITEM_SIZE, null);
    }

    if (propertyId.equals(PROPERTY_LASTMODIFIED)) {
        return new MethodProperty<Object>(getType(propertyId),
                new FileItem((File) itemId), FILEITEM_LASTMODIFIED, null);
    }
    
    if (propertyId.equals(PROPERTY_VERSION)) {
        return new MethodProperty<Object>(getType(propertyId),
                new FileItem((File) itemId), FILEITEM_VERSION, null);
    }

    if (propertyId.equals(PROPERTY_STATUS)) {
        return new MethodProperty<Object>(getType(propertyId),
                new FileItem((File) itemId), FILEITEM_STATUS, null);
    }

    if (propertyId.equals(PROPERTY_DATA)) {
        return new MethodProperty<Object>(getType(propertyId),
                new FileItem((File) itemId), FILEITEM_DATA, null);
    }

    return null;
}
 
开发者ID:apache,项目名称:incubator-openaz,代码行数:56,代码来源:GitRepositoryContainer.java



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java ZKUtil类代码示例发布时间:2022-05-22
下一篇:
Java SelectionRequest类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap