1. Project Clover database Sat Feb 2 2019 06:45:20 CET
  2. Package org.xwiki.rest

File Relations.java

 

Coverage histogram

../../../img/srcFileCovDistChart0.png
86% of files have more coverage

Code metrics

0
0
1
1
176
35
1
-
0
1
1

Classes

Class Line # Actions
Relations 28 0 0% 1 1
0.00%
 

Contributing tests

No tests hitting this source file were found.

Source view

1    /*
2    * See the NOTICE file distributed with this work for additional
3    * information regarding copyright ownership.
4    *
5    * This is free software; you can redistribute it and/or modify it
6    * under the terms of the GNU Lesser General Public License as
7    * published by the Free Software Foundation; either version 2.1 of
8    * the License, or (at your option) any later version.
9    *
10    * This software is distributed in the hope that it will be useful,
11    * but WITHOUT ANY WARRANTY; without even the implied warranty of
12    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13    * Lesser General Public License for more details.
14    *
15    * You should have received a copy of the GNU Lesser General Public
16    * License along with this software; if not, write to the Free
17    * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18    * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
19    */
20    package org.xwiki.rest;
21   
22    /**
23    * <p> This class contains the constants defining the relation types that can be specified for links in the
24    * representations. <p>
25    *
26    * @version $Id: bd4e43005878624f16f10754b93b878760d938a7 $
27    */
 
28    public final class Relations
29    {
30    /**
31    * Relation for links pointing to the resource that returned the current representation.
32    */
33    public static final String SELF = "self";
34   
35    /**
36    * Relation for links pointing to a WADL description.
37    */
38    public static final String WADL = "wadl";
39   
40    /**
41    * Relation for links pointing to the list of available wikis.
42    */
43    public static final String WIKIS = "http://www.xwiki.org/rel/wikis";
44   
45    /**
46    * Relation for links pointing to the list of spaces.
47    */
48    public static final String SPACES = "http://www.xwiki.org/rel/spaces";
49   
50    /**
51    * Relation for links pointing to list of pages.
52    */
53    public static final String PAGES = "http://www.xwiki.org/rel/pages";
54   
55    /**
56    * Relation for links pointing to a page translation.
57    */
58    public static final String TRANSLATION = "http://www.xwiki.org/rel/translation";
59   
60    /**
61    * Relation for links pointing to a page.
62    */
63    public static final String PAGE = "http://www.xwiki.org/rel/page";
64   
65    /**
66    * Relation for links pointing to space.
67    */
68    public static final String SPACE = "http://www.xwiki.org/rel/space";
69   
70    /**
71    * Relation for links pointing to the parent resource.
72    */
73    public static final String PARENT = "http://www.xwiki.org/rel/parent";
74   
75    /**
76    * Relation for links pointing to the space's home.
77    */
78    public static final String HOME = "http://www.xwiki.org/rel/home";
79   
80    /**
81    * Relation for links pointing to attachment data.
82    */
83    public static final String ATTACHMENT_DATA = "http://www.xwiki.org/rel/attachmentData";
84   
85    /**
86    * Relation for links pointing to the list of comments.
87    */
88    public static final String COMMENTS = "http://www.xwiki.org/rel/comments";
89   
90    /**
91    * Relation for links pointing to the list of attachments for a page.
92    */
93    public static final String ATTACHMENTS = "http://www.xwiki.org/rel/attachments";
94   
95    /**
96    * Relation for links pointing to the list of objects.
97    */
98    public static final String OBJECTS = "http://www.xwiki.org/rel/objects";
99   
100    /**
101    * Relation for links pointing to an object.
102    */
103    public static final String OBJECT = "http://www.xwiki.org/rel/object";
104   
105    /**
106    * Relation for links pointing to the list of classes.
107    */
108    public static final String CLASSES = "http://www.xwiki.org/rel/classes";
109   
110    /**
111    * Relation for links pointing to the page history.
112    */
113    public static final String HISTORY = "http://www.xwiki.org/rel/history";
114   
115    /**
116    * Relation for links pointing to the class associated with a resource.
117    */
118    public static final String CLASS = "http://www.xwiki.org/rel/class";
119   
120    /**
121    * Relation for links pointing to an object's property.
122    */
123    public static final String PROPERTY = "http://www.xwiki.org/rel/property";
124   
125    /**
126    * Relation for links pointing to the list of values of an object property.
127    */
128    public static final String PROPERTY_VALUES = "http://www.xwiki.org/rel/propertyValues";
129   
130    /**
131    * Relation for links pointing to the list of object properties.
132    */
133    public static final String PROPERTIES = "http://www.xwiki.org/rel/properties";
134   
135    /**
136    * Relation for links pointing to the modifications.
137    */
138    public static final String MODIFICATIONS = "http://www.xwiki.org/rel/modifications";
139   
140    /**
141    * Relation for links pointing to the children of a page.
142    */
143    public static final String CHILDREN = "http://www.xwiki.org/rel/children";
144   
145    /**
146    * Relation for links pointing to the list of tags for a resource.
147    */
148    public static final String TAGS = "http://www.xwiki.org/rel/tags";
149   
150    /**
151    * Relation for links pointing to a specific tag for a resource.
152    */
153    public static final String TAG = "http://www.xwiki.org/rel/tag";
154   
155    /**
156    * Relation for links pointing to the resource for retrieving search results.
157    */
158    public static final String SEARCH = "http://www.xwiki.org/rel/search";
159   
160    /**
161    * Relation for links pointing to the resource for retrieving search results using advanced queries.
162    */
163    public static final String QUERY = "http://www.xwiki.org/rel/query";
164   
165    /**
166    * Relation for links pointing to the list of available syntaxes.
167    */
168    public static final String SYNTAXES = "http://www.xwiki.org/rel/syntaxes";
169   
170    /**
171    * Avoid instantiation.
172    */
 
173  0 toggle private Relations()
174    {
175    }
176    }