class AbstractWritableScriptedDhisResource {

    @Nullable
    public DhisResourceId getResourceId()
    {
        return resourceId == null ? null : new DhisResourceId( resourceType, resourceId );
    }

    protected  AbstractWritableScriptedDhisResource( @Nonnull DhisResourceType resourceType, @Nonnull String resourceId, @Nonnull ScriptExecutionContext scriptExecutionContext );
    protected  AbstractWritableScriptedDhisResource( @Nonnull DhisResource resource, @Nonnull ScriptExecutionContext scriptExecutionContext );

}