class AbstractWritableScriptedDhisResource {

    @ScriptMethod( description = "Returns if the DHIS2 resource is new and has not yet been saved on DHIS2." )
    public boolean isNewResource()
    {
        return getInternalResource().isNewResource();
    }

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

}