be.re.webdav
Class View.Rule

java.lang.Object
  extended by be.re.webdav.View.Rule
Enclosing class:
View

public static class View.Rule
extends Object

Represents one rule.


Field Summary
 String activity
          An activity is like a version branch.
 String checkOutActivity
          This is the activity that will be used when a resource is checked out.
 String label
          A label that can be set on a version of a resource.
 String time
          An ISO timestamp that can be used to select versions.
 String url
          A collection starting from which this selection rule applies.
 String version
          The name of specific version, which can be useful when for some reason a specific version of a resource is required.
 
Constructor Summary
View.Rule(String url, String activity, String label, String version, String time, String checkOutActivity)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

activity

public String activity
An activity is like a version branch. It is defined in RFC 3253.


checkOutActivity

public String checkOutActivity
This is the activity that will be used when a resource is checked out. This is how a branch can be created on another.


label

public String label
A label that can be set on a version of a resource. A view can use it to select versions. Labels are defined in RFC 3253.


time

public String time
An ISO timestamp that can be used to select versions. This should not be combined with other selection means.


url

public String url
A collection starting from which this selection rule applies. Typically more precise rules are placed before less precise ones, because the rules of a view are evaluated in sequence.


version

public String version
The name of specific version, which can be useful when for some reason a specific version of a resource is required. This would normally be a temporary situation.

Constructor Detail

View.Rule

public View.Rule(String url,
                 String activity,
                 String label,
                 String version,
                 String time,
                 String checkOutActivity)