class AbstractWritableScriptedDhisResource {

    @Nullable
    @ScriptMethod( description = "Returns the ID of the DHIS2 resource. Return null if the instance is new." )
    public String getId()
    {
        return resourceId;
    }

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

}