Package org.zeroexchange.model.resource.property

Examples of org.zeroexchange.model.resource.property.PropertySpecification


     * {@inheritDoc}
     */
    @Override
    @Deprecated
    public DictionaryItem getUnitOfMeasure(Resource resource) {
        PropertySpecification propSpecification = getPropertySpecification(resource, Property.PROP_UOM);
        DictionaryValue uomValue = (DictionaryValue) (propSpecification == null ? null : propSpecification.getValue());
        return uomValue == null ? null : uomValue.getValue();
    }
View Full Code Here

TOP

Related Classes of org.zeroexchange.model.resource.property.PropertySpecification

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.