Package org.apache.chemistry.opencmis.commons.impl.jaxb

Examples of org.apache.chemistry.opencmis.commons.impl.jaxb.CmisNewTypeSettableAttributes


                convertExtension(creatablePropertyTypes, target);
            }
            if (capabilities.getNewTypeSettableAttributes() != null) {
                NewTypeSettableAttributes newTypeSettableAttributes = capabilities.getNewTypeSettableAttributes();

                CmisNewTypeSettableAttributes target = new CmisNewTypeSettableAttributes();
                result.setCapabilityNewTypeSettableAttributes(target);

                target.setId(newTypeSettableAttributes.canSetId() == null ? true : newTypeSettableAttributes.canSetId());
                target.setLocalName(newTypeSettableAttributes.canSetLocalName() == null ? true
                        : newTypeSettableAttributes.canSetLocalName());
                target.setLocalNamespace(newTypeSettableAttributes.canSetLocalNamespace() == null ? true
                        : newTypeSettableAttributes.canSetLocalNamespace());
                target.setDisplayName(newTypeSettableAttributes.canSetDisplayName() == null ? true
                        : newTypeSettableAttributes.canSetDisplayName());
                target.setQueryName(newTypeSettableAttributes.canSetQueryName() == null ? true
                        : newTypeSettableAttributes.canSetQueryName());
                target.setDescription(newTypeSettableAttributes.canSetDescription() == null ? true
                        : newTypeSettableAttributes.canSetDescription());
                target.setCreatable(newTypeSettableAttributes.canSetCreatable() == null ? true
                        : newTypeSettableAttributes.canSetCreatable());
                target.setFileable(newTypeSettableAttributes.canSetFileable() == null ? true
                        : newTypeSettableAttributes.canSetFileable());
                target.setQueryable(newTypeSettableAttributes.canSetQueryable() == null ? true
                        : newTypeSettableAttributes.canSetQueryable());
                target.setFulltextIndexed(newTypeSettableAttributes.canSetFulltextIndexed() == null ? true
                        : newTypeSettableAttributes.canSetFulltextIndexed());
                target.setIncludedInSupertypeQuery(newTypeSettableAttributes.canSetIncludedInSupertypeQuery() == null ? true
                        : newTypeSettableAttributes.canSetIncludedInSupertypeQuery());
                target.setControllablePolicy(newTypeSettableAttributes.canSetControllablePolicy() == null ? true
                        : newTypeSettableAttributes.canSetControllablePolicy());
                target.setControllableACL(newTypeSettableAttributes.canSetControllableAcl() == null ? true
                        : newTypeSettableAttributes.canSetControllableAcl());

                convertExtension(newTypeSettableAttributes, target);
            }
        }
View Full Code Here


            }

            convertExtension(creatablePropertyTypes, target);
        }
        if (capabilities.getCapabilityNewTypeSettableAttributes() != null) {
            CmisNewTypeSettableAttributes newTypeSettableAttributes = capabilities
                    .getCapabilityNewTypeSettableAttributes();

            NewTypeSettableAttributesImpl target = new NewTypeSettableAttributesImpl();
            result.setNewTypeSettableAttributes(target);

            target.setCanSetId(newTypeSettableAttributes.isId());
            target.setCanSetLocalName(newTypeSettableAttributes.isLocalName());
            target.setCanSetLocalNamespace(newTypeSettableAttributes.isLocalNamespace());
            target.setCanSetDisplayName(newTypeSettableAttributes.isDisplayName());
            target.setCanSetQueryName(newTypeSettableAttributes.isQueryName());
            target.setCanSetDescription(newTypeSettableAttributes.isDescription());
            target.setCanSetCreatable(newTypeSettableAttributes.isCreatable());
            target.setCanSetFileable(newTypeSettableAttributes.isFileable());
            target.setCanSetQueryable(newTypeSettableAttributes.isQueryable());
            target.setCanSetFulltextIndexed(newTypeSettableAttributes.isFulltextIndexed());
            target.setCanSetIncludedInSupertypeQuery(newTypeSettableAttributes.isIncludedInSupertypeQuery());
            target.setCanSetControllablePolicy(newTypeSettableAttributes.isControllablePolicy());
            target.setCanSetControllableAcl(newTypeSettableAttributes.isControllableACL());

            convertExtension(newTypeSettableAttributes, target);
        }

        // handle extensions
View Full Code Here

TOP

Related Classes of org.apache.chemistry.opencmis.commons.impl.jaxb.CmisNewTypeSettableAttributes

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.