Class ConsistsOfManagement

    • Field Detail

      • DEFAULT_CONSISTS_OF_PC

        public static final org.gcube.informationsystem.model.reference.properties.PropagationConstraint DEFAULT_CONSISTS_OF_PC
    • Constructor Detail

      • ConsistsOfManagement

        public ConsistsOfManagement()
    • Method Detail

      • getSpecificNotFoundException

        protected org.gcube.informationsystem.resourceregistry.api.exceptions.relations.consistsof.ConsistsOfNotFoundException getSpecificNotFoundException​(org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException e)
        Specified by:
        getSpecificNotFoundException in class ElementManagement<com.orientechnologies.orient.core.record.OEdge,​org.gcube.informationsystem.types.reference.relations.RelationType<org.gcube.informationsystem.types.reference.entities.ResourceType,​org.gcube.informationsystem.types.reference.entities.FacetType>>
      • getSpecificAvailableInAnotherContextException

        public org.gcube.informationsystem.resourceregistry.api.exceptions.relations.consistsof.ConsistsOfAvailableInAnotherContextException getSpecificAvailableInAnotherContextException​(String message)
      • getSpecificAlreadyPresentException

        protected org.gcube.informationsystem.resourceregistry.api.exceptions.relations.consistsof.ConsistsOfAlreadyPresentException getSpecificAlreadyPresentException​(String message)
        Specified by:
        getSpecificAlreadyPresentException in class ElementManagement<com.orientechnologies.orient.core.record.OEdge,​org.gcube.informationsystem.types.reference.relations.RelationType<org.gcube.informationsystem.types.reference.entities.ResourceType,​org.gcube.informationsystem.types.reference.entities.FacetType>>
      • newTargetEntityManagement

        protected FacetManagement newTargetEntityManagement()
                                                     throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Specified by:
        newTargetEntityManagement in class RelationElementManagement<ResourceManagement,​FacetManagement,​org.gcube.informationsystem.types.reference.entities.ResourceType,​org.gcube.informationsystem.types.reference.entities.FacetType>
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • reallyCreate

        protected com.orientechnologies.orient.core.record.OEdge reallyCreate()
                                                                       throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Overrides:
        reallyCreate in class RelationManagement<FacetManagement,​org.gcube.informationsystem.types.reference.entities.FacetType>
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • checkResource

        protected void checkResource()
                              throws org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaViolationException,
                                     org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaViolationException
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      • sanityCheck

        public void sanityCheck()
                         throws org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaViolationException,
                                org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
        Overrides:
        sanityCheck in class ElementManagement<com.orientechnologies.orient.core.record.OEdge,​org.gcube.informationsystem.types.reference.relations.RelationType<org.gcube.informationsystem.types.reference.entities.ResourceType,​org.gcube.informationsystem.types.reference.entities.FacetType>>
        Throws:
        org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaViolationException
        org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException