Package com.adito.properties.attributes

Examples of com.adito.properties.attributes.AttributesPropertyClass


        String defaultValue = (String) seq.getAttribute(AttributeDefinitionOptionsAction.ATTR_DEFAULT_VALUE, null);
        String validationString = (String) seq.getAttribute(AttributeDefinitionOptionsAction.ATTR_VALIDATION_STRING, null);
        int visibility = ((Integer) seq.getAttribute(AttributeDefinitionOptionsAction.ATTR_VISIBILITY, null)).intValue();
        int sortOrder = ((Integer) seq.getAttribute(AttributeDefinitionOptionsAction.ATTR_SORT_ORDER, null)).intValue();
        int type = ((Integer) seq.getAttribute(AttributeDefinitionOptionsAction.ATTR_TYPE, null)).intValue();
        AttributesPropertyClass attributeClass = (AttributesPropertyClass) PropertyClassManager.getInstance()
                        .getPropertyClass(attributeClassName);
        AttributeDefinition def = attributeClass.createAttributeDefinition(type,
                            name,
                            typeMeta,
                            -1,
                            category,
                            defaultValue,
View Full Code Here


                    throws Exception {
        PolicyUtil.checkPermission(getResourceType(), PolicyConstants.PERM_MAINTAIN, request);
        AttributeDefinitionsForm f = (AttributeDefinitionsForm) form;

        // Get the property class
        AttributesPropertyClass attributesPropertyClass = (AttributesPropertyClass) PropertyClassManager.getInstance()
                        .getPropertyClass(f.getPropertyClassName());
        if (attributesPropertyClass == null) {
            throw new Exception("Invalid property class.");
        }
View Full Code Here

TOP

Related Classes of com.adito.properties.attributes.AttributesPropertyClass

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.