All Downloads are FREE. Search and download functionalities are using the official Maven repository.

microsoft.dynamics.crm.entity.set.EntityDefinitions Maven / Gradle / Ivy

The newest version!
package microsoft.dynamics.crm.entity.set;

import com.github.davidmoten.odata.client.ContextPath;

import java.util.Optional;

import microsoft.dynamics.crm.entity.collection.request.EntityMetadataCollectionRequest;

public final class EntityDefinitions extends EntityMetadataCollectionRequest {

    public EntityDefinitions(ContextPath contextPath) {
        super(contextPath, Optional.empty());
    }

    public RelationshipDefinitions manyToManyRelationships() {
        return new RelationshipDefinitions(contextPath.addSegment("ManyToManyRelationships"));
    }

    public RelationshipDefinitions manyToOneRelationships() {
        return new RelationshipDefinitions(contextPath.addSegment("ManyToOneRelationships"));
    }

    public GlobalOptionSetDefinitions microsoft_Dynamics_CRM_BooleanAttributeMetadata_GlobalOptionSet() {
        return new GlobalOptionSetDefinitions(contextPath.addSegment("Microsoft.Dynamics.CRM.BooleanAttributeMetadata/GlobalOptionSet"));
    }

    public GlobalOptionSetDefinitions microsoft_Dynamics_CRM_EnumAttributeMetadata_GlobalOptionSet() {
        return new GlobalOptionSetDefinitions(contextPath.addSegment("Microsoft.Dynamics.CRM.EnumAttributeMetadata/GlobalOptionSet"));
    }

    public RelationshipDefinitions oneToManyRelationships() {
        return new RelationshipDefinitions(contextPath.addSegment("OneToManyRelationships"));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy