Showing
25 changed files
with
1259 additions
and
547 deletions
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| 2 | +<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" | |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| 3 | 4 | <modelVersion>4.0.0</modelVersion> |
| 4 | 5 | <groupId>pl.itcrowd</groupId> |
| 5 | 6 | <artifactId>youtrack-rest-api</artifactId> |
| 6 | - <version>1.1.1-SNAPSHOT</version> | |
| 7 | + <version>1.1.2-SNAPSHOT</version> | |
| 7 | 8 | <scm> |
| 8 | 9 | <developerConnection>scm:git:https://itcrowd.pl/gitblit/git/OpenSource/youtrack-rest-api.git</developerConnection> |
| 9 | 10 | <tag>HEAD</tag> | ... | ... |
| ... | ... | @@ -15,186 +15,177 @@ public final class Filter { |
| 15 | 15 | |
| 16 | 16 | private long maxResults; |
| 17 | 17 | |
| 18 | - public static Filter createdFilter(String date) | |
| 19 | - { | |
| 20 | - return new Filter().created(date); | |
| 21 | - } | |
| 18 | + private long optionsLimit; | |
| 22 | 19 | |
| 23 | - public static Filter createdFilter(DateValues date) | |
| 20 | + private Filter() | |
| 24 | 21 | { |
| 25 | - return new Filter().created(date); | |
| 26 | - } | |
| 27 | 22 | |
| 28 | - public static Filter descriptionFilter(String description) | |
| 29 | - { | |
| 30 | - return new Filter().description(description); | |
| 31 | 23 | } |
| 32 | 24 | |
| 33 | - public static Filter issueIdFilter(String issueId) | |
| 25 | + public Filter after(long after) | |
| 34 | 26 | { |
| 35 | - return new Filter().issueId(issueId); | |
| 27 | + this.after = after; | |
| 28 | + return this; | |
| 36 | 29 | } |
| 37 | 30 | |
| 38 | - public static Filter projectFilter(String project) | |
| 31 | + public Filter created(DateValues date) | |
| 39 | 32 | { |
| 40 | - return new Filter().project(project); | |
| 33 | + return created(date.getFilterValue()); | |
| 41 | 34 | } |
| 42 | 35 | |
| 43 | - public static Filter reporterFilter(String reporter) | |
| 36 | + public Filter created(String date) | |
| 44 | 37 | { |
| 45 | - return new Filter().reporter(reporter); | |
| 38 | + conditions.add(new Condition(Fields.created, date)); | |
| 39 | + return this; | |
| 46 | 40 | } |
| 47 | 41 | |
| 48 | - public static Filter resolvedFilter(String date) | |
| 42 | + public static Filter createdFilter(String date) | |
| 49 | 43 | { |
| 50 | - return new Filter().resolved(date); | |
| 44 | + return new Filter().created(date); | |
| 51 | 45 | } |
| 52 | 46 | |
| 53 | - public static Filter resolvedFilter(DateValues date) | |
| 47 | + public static Filter createdFilter(DateValues date) | |
| 54 | 48 | { |
| 55 | - return new Filter().resolved(date); | |
| 49 | + return new Filter().created(date); | |
| 56 | 50 | } |
| 57 | 51 | |
| 58 | - public static Filter stateFilter(StateValues... state) | |
| 52 | + public Filter description(String description) | |
| 59 | 53 | { |
| 60 | - return new Filter().state(state); | |
| 54 | + conditions.add(new Condition(Fields.description, description)); | |
| 55 | + return this; | |
| 61 | 56 | } |
| 62 | 57 | |
| 63 | - public static Filter stateFilter(String state) | |
| 58 | + public static Filter descriptionFilter(String description) | |
| 64 | 59 | { |
| 65 | - return new Filter().state(state); | |
| 60 | + return new Filter().description(description); | |
| 66 | 61 | } |
| 67 | 62 | |
| 68 | - public static Filter summaryFilter(String summary) | |
| 63 | + public Filter freeText(String text) | |
| 69 | 64 | { |
| 70 | - return new Filter().summary(summary); | |
| 65 | + conditions.add(new Condition(null, text)); | |
| 66 | + return this; | |
| 71 | 67 | } |
| 72 | 68 | |
| 73 | - public static Filter unresolvedFilter() | |
| 69 | + public Filter issueId(String issueId) | |
| 74 | 70 | { |
| 75 | - return new Filter().unresolved(); | |
| 71 | + conditions.add(new Condition(Fields.issueId, issueId)); | |
| 72 | + return this; | |
| 76 | 73 | } |
| 77 | 74 | |
| 78 | - public static Filter updatedFilter(String date) | |
| 75 | + public static Filter issueIdFilter(String issueId) | |
| 79 | 76 | { |
| 80 | - return new Filter().updated(date); | |
| 77 | + return new Filter().issueId(issueId); | |
| 81 | 78 | } |
| 82 | 79 | |
| 83 | - public static Filter updatedFilter(DateValues date) | |
| 80 | + public Filter maxResults(long maxResults) | |
| 84 | 81 | { |
| 85 | - return new Filter().updated(date); | |
| 82 | + this.maxResults = maxResults; | |
| 83 | + return this; | |
| 86 | 84 | } |
| 87 | 85 | |
| 88 | - public static Filter updaterFilter(String updater) | |
| 86 | + public Filter optionsLimit(long optionsLimit) | |
| 89 | 87 | { |
| 90 | - return new Filter().updater(updater); | |
| 88 | + this.optionsLimit = optionsLimit; | |
| 89 | + return this; | |
| 91 | 90 | } |
| 92 | 91 | |
| 93 | - private Filter() | |
| 92 | + public Filter project(String project) | |
| 94 | 93 | { |
| 95 | - | |
| 94 | + conditions.add(new Condition(Fields.projectShortName, project)); | |
| 95 | + return this; | |
| 96 | 96 | } |
| 97 | 97 | |
| 98 | - @Override | |
| 99 | - public String toString() | |
| 98 | + public static Filter projectFilter(String project) | |
| 100 | 99 | { |
| 101 | - StringBuilder builder = new StringBuilder(); | |
| 102 | - String space = " "; | |
| 103 | - for (Condition condition : conditions) { | |
| 104 | - builder.append(space); | |
| 105 | - if (condition.field != null) { | |
| 106 | - builder.append(condition.field.getCommand()); | |
| 107 | - builder.append(":"); | |
| 108 | - } | |
| 109 | - builder.append(condition.value); | |
| 110 | - } | |
| 111 | - if (maxResults > 0) { | |
| 112 | - builder.append("&max=").append(maxResults); | |
| 113 | - } | |
| 114 | - if (after > 0) { | |
| 115 | - builder.append("&after=").append(after); | |
| 116 | - } | |
| 117 | - return builder.length() > space.length() ? builder.substring(space.length()) : builder.toString(); | |
| 100 | + return new Filter().project(project); | |
| 118 | 101 | } |
| 119 | 102 | |
| 120 | - public Filter after(long after) | |
| 103 | + public Filter reporter(String reporter) | |
| 121 | 104 | { |
| 122 | - this.after = after; | |
| 105 | + conditions.add(new Condition(Fields.reporterName, reporter)); | |
| 123 | 106 | return this; |
| 124 | 107 | } |
| 125 | 108 | |
| 126 | - public Filter created(DateValues date) | |
| 109 | + public static Filter reporterFilter(String reporter) | |
| 127 | 110 | { |
| 128 | - return created(date.getFilterValue()); | |
| 111 | + return new Filter().reporter(reporter); | |
| 129 | 112 | } |
| 130 | 113 | |
| 131 | - public Filter created(String date) | |
| 132 | - { | |
| 133 | - conditions.add(new Condition(Fields.created, date)); | |
| 134 | - return this; | |
| 135 | - } | |
| 114 | + public Filter resolved(DateValues date) | |
| 136 | 115 | |
| 137 | - public Filter description(String description) | |
| 138 | 116 | { |
| 139 | - conditions.add(new Condition(Fields.description, description)); | |
| 140 | - return this; | |
| 117 | + return resolved(date.getFilterValue()); | |
| 141 | 118 | } |
| 142 | 119 | |
| 143 | - public Filter freeText(String text) | |
| 120 | + public Filter resolved(String date) | |
| 144 | 121 | { |
| 145 | - conditions.add(new Condition(null, text)); | |
| 122 | + conditions.add(new Condition(Fields.resolved, date)); | |
| 146 | 123 | return this; |
| 147 | 124 | } |
| 148 | 125 | |
| 149 | - public Filter issueId(String issueId) | |
| 126 | + public static Filter resolvedFilter(String date) | |
| 150 | 127 | { |
| 151 | - conditions.add(new Condition(Fields.issueId, issueId)); | |
| 152 | - return this; | |
| 128 | + return new Filter().resolved(date); | |
| 153 | 129 | } |
| 154 | 130 | |
| 155 | - public Filter maxResults(long maxResults) | |
| 131 | + public static Filter resolvedFilter(DateValues date) | |
| 156 | 132 | { |
| 157 | - this.maxResults = maxResults; | |
| 158 | - return this; | |
| 133 | + return new Filter().resolved(date); | |
| 159 | 134 | } |
| 160 | 135 | |
| 161 | - public Filter project(String project) | |
| 136 | + public Filter state(StateValues... state) | |
| 162 | 137 | { |
| 163 | - conditions.add(new Condition(Fields.projectShortName, project)); | |
| 164 | - return this; | |
| 138 | + final StringBuilder stringBuilder = new StringBuilder(); | |
| 139 | + for (StateValues value : state) { | |
| 140 | + stringBuilder.append(",").append(value.getFilterValue()); | |
| 141 | + } | |
| 142 | + return state(stringBuilder.length() > 0 ? stringBuilder.substring(1) : stringBuilder.toString()); | |
| 165 | 143 | } |
| 166 | 144 | |
| 167 | - public Filter reporter(String reporter) | |
| 145 | + public static Filter stateFilter(StateValues... state) | |
| 168 | 146 | { |
| 169 | - conditions.add(new Condition(Fields.reporterName, reporter)); | |
| 170 | - return this; | |
| 147 | + return new Filter().state(state); | |
| 171 | 148 | } |
| 172 | 149 | |
| 173 | - public Filter resolved(DateValues date) | |
| 174 | - | |
| 150 | + public static Filter stateFilter(String state) | |
| 175 | 151 | { |
| 176 | - return resolved(date.getFilterValue()); | |
| 152 | + return new Filter().state(state); | |
| 177 | 153 | } |
| 178 | 154 | |
| 179 | - public Filter resolved(String date) | |
| 155 | + public Filter summary(String summary) | |
| 180 | 156 | { |
| 181 | - conditions.add(new Condition(Fields.resolved, date)); | |
| 157 | + conditions.add(new Condition(Fields.summary, summary)); | |
| 182 | 158 | return this; |
| 183 | 159 | } |
| 184 | 160 | |
| 185 | - public Filter state(StateValues... state) | |
| 161 | + public static Filter summaryFilter(String summary) | |
| 186 | 162 | { |
| 187 | - final StringBuilder stringBuilder = new StringBuilder(); | |
| 188 | - for (StateValues value : state) { | |
| 189 | - stringBuilder.append(",").append(value.getFilterValue()); | |
| 190 | - } | |
| 191 | - return state(stringBuilder.length() > 0 ? stringBuilder.substring(1) : stringBuilder.toString()); | |
| 163 | + return new Filter().summary(summary); | |
| 192 | 164 | } |
| 193 | 165 | |
| 194 | - public Filter summary(String summary) | |
| 166 | + @Override | |
| 167 | + public String toString() | |
| 195 | 168 | { |
| 196 | - conditions.add(new Condition(Fields.summary, summary)); | |
| 197 | - return this; | |
| 169 | + StringBuilder builder = new StringBuilder(); | |
| 170 | + String space = " "; | |
| 171 | + for (Condition condition : conditions) { | |
| 172 | + builder.append(space); | |
| 173 | + if (condition.field != null) { | |
| 174 | + builder.append(condition.field.getCommand()); | |
| 175 | + builder.append(":"); | |
| 176 | + } | |
| 177 | + builder.append(condition.value); | |
| 178 | + } | |
| 179 | + if (maxResults > 0) { | |
| 180 | + builder.append("&max=").append(maxResults); | |
| 181 | + } | |
| 182 | + if (optionsLimit > 0) { | |
| 183 | + builder.append("&optionsLimit=").append(optionsLimit); | |
| 184 | + } | |
| 185 | + if (after > 0) { | |
| 186 | + builder.append("&after=").append(after); | |
| 187 | + } | |
| 188 | + return builder.length() > space.length() ? builder.substring(space.length()) : builder.toString(); | |
| 198 | 189 | } |
| 199 | 190 | |
| 200 | 191 | public Filter unresolved() |
| ... | ... | @@ -203,6 +194,11 @@ public final class Filter { |
| 203 | 194 | return this; |
| 204 | 195 | } |
| 205 | 196 | |
| 197 | + public static Filter unresolvedFilter() | |
| 198 | + { | |
| 199 | + return new Filter().unresolved(); | |
| 200 | + } | |
| 201 | + | |
| 206 | 202 | public Filter updated(DateValues date) |
| 207 | 203 | { |
| 208 | 204 | return updated(date.getFilterValue()); |
| ... | ... | @@ -214,12 +210,27 @@ public final class Filter { |
| 214 | 210 | return this; |
| 215 | 211 | } |
| 216 | 212 | |
| 213 | + public static Filter updatedFilter(String date) | |
| 214 | + { | |
| 215 | + return new Filter().updated(date); | |
| 216 | + } | |
| 217 | + | |
| 218 | + public static Filter updatedFilter(DateValues date) | |
| 219 | + { | |
| 220 | + return new Filter().updated(date); | |
| 221 | + } | |
| 222 | + | |
| 217 | 223 | public Filter updater(String updater) |
| 218 | 224 | { |
| 219 | 225 | conditions.add(new Condition(Fields.updaterName, updater)); |
| 220 | 226 | return this; |
| 221 | 227 | } |
| 222 | 228 | |
| 229 | + public static Filter updaterFilter(String updater) | |
| 230 | + { | |
| 231 | + return new Filter().updater(updater); | |
| 232 | + } | |
| 233 | + | |
| 223 | 234 | private Filter state(String state) |
| 224 | 235 | { |
| 225 | 236 | conditions.add(new Condition(Fields.state, state)); | ... | ... |
| 1 | +package pl.itcrowd.youtrack.api; | |
| 2 | + | |
| 3 | +import org.apache.commons.logging.Log; | |
| 4 | +import org.apache.commons.logging.LogFactory; | |
| 5 | +import pl.itcrowd.youtrack.api.rest.IssueItem; | |
| 6 | + | |
| 7 | +import java.io.Serializable; | |
| 8 | + | |
| 9 | +public class IssueItemWrapper implements Serializable { | |
| 10 | + | |
| 11 | + private static final Log log = LogFactory.getLog(IssueItemWrapper.class); | |
| 12 | + | |
| 13 | + private IssueItem issueItem; | |
| 14 | + | |
| 15 | + public IssueItemWrapper(IssueItem issueItem) | |
| 16 | + { | |
| 17 | + this.issueItem = issueItem; | |
| 18 | + } | |
| 19 | + | |
| 20 | + public String getIssueId() | |
| 21 | + { | |
| 22 | + return issueItem.getOption(); | |
| 23 | + } | |
| 24 | + | |
| 25 | + public String getSummary() | |
| 26 | + { | |
| 27 | + return issueItem.getDescription(); | |
| 28 | + } | |
| 29 | +} | ... | ... |
| ... | ... | @@ -34,8 +34,10 @@ import pl.itcrowd.youtrack.api.exceptions.YoutrackAPIException; |
| 34 | 34 | import pl.itcrowd.youtrack.api.exceptions.YoutrackErrorException; |
| 35 | 35 | import pl.itcrowd.youtrack.api.rest.AssigneeList; |
| 36 | 36 | import pl.itcrowd.youtrack.api.rest.Enumeration; |
| 37 | +import pl.itcrowd.youtrack.api.rest.IntelliSense; | |
| 37 | 38 | import pl.itcrowd.youtrack.api.rest.Issue; |
| 38 | 39 | import pl.itcrowd.youtrack.api.rest.IssueCompacts; |
| 40 | +import pl.itcrowd.youtrack.api.rest.IssueItem; | |
| 39 | 41 | import pl.itcrowd.youtrack.api.rest.Issues; |
| 40 | 42 | import pl.itcrowd.youtrack.api.rest.User; |
| 41 | 43 | import pl.itcrowd.youtrack.api.rest.UserRefs; |
| ... | ... | @@ -121,17 +123,17 @@ public class YoutrackAPI { |
| 121 | 123 | // set up a TrustManager that trusts everything |
| 122 | 124 | try { |
| 123 | 125 | sslContext.init(null, new TrustManager[]{new X509TrustManager() { |
| 124 | - public void checkClientTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException | |
| 126 | + public X509Certificate[] getAcceptedIssuers() | |
| 125 | 127 | { |
| 128 | + return new X509Certificate[0]; | |
| 126 | 129 | } |
| 127 | 130 | |
| 128 | - public void checkServerTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException | |
| 131 | + public void checkClientTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException | |
| 129 | 132 | { |
| 130 | 133 | } |
| 131 | 134 | |
| 132 | - public X509Certificate[] getAcceptedIssuers() | |
| 135 | + public void checkServerTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException | |
| 133 | 136 | { |
| 134 | - return new X509Certificate[0]; | |
| 135 | 137 | } |
| 136 | 138 | }}, new SecureRandom()); |
| 137 | 139 | } catch (KeyManagementException e) { |
| ... | ... | @@ -310,6 +312,25 @@ public class YoutrackAPI { |
| 310 | 312 | execute(request); |
| 311 | 313 | } |
| 312 | 314 | |
| 315 | + public List<IssueItemWrapper> searchIntellisenseIssuesByProject(String project, Object filter) throws JAXBException, IOException | |
| 316 | + { | |
| 317 | + final String query = "project=" + project + "&filter=" + (filter == null ? "" : filter); | |
| 318 | + final URI buildURI = buildURI(serviceLocationURI, "/rest/issue/intellisense", query); | |
| 319 | + final HttpGet request = new HttpGet(buildURI); | |
| 320 | + final String execute = execute(request); | |
| 321 | + final Object result = YoutrackUnmarshaller.unmarshall(execute); | |
| 322 | + if (!(result instanceof IntelliSense)) { | |
| 323 | + throw new YoutrackAPIException("Unmarshalling problem. Expected Issues, received: " + result.getClass() + " " + result); | |
| 324 | + } | |
| 325 | + IntelliSense.Suggest suggest = ((IntelliSense) result).getSuggest(); | |
| 326 | + List<IssueItem> issueItems = suggest.getItems(); | |
| 327 | + List<IssueItemWrapper> wrappedIssueItems = new ArrayList<IssueItemWrapper>(); | |
| 328 | + for (IssueItem issueItem : issueItems) { | |
| 329 | + wrappedIssueItems.add(new IssueItemWrapper(issueItem)); | |
| 330 | + } | |
| 331 | + return wrappedIssueItems; | |
| 332 | + } | |
| 333 | + | |
| 313 | 334 | public List<IssueWrapper> searchIssues(Object filter, Integer maxResults, Integer after) throws JAXBException, IOException |
| 314 | 335 | { |
| 315 | 336 | final Map<String, Object> params = new HashMap<String, Object>(); | ... | ... |
| ... | ... | @@ -2,6 +2,7 @@ |
| 2 | 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 |
| 3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| 4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
| 5 | +// Generated on: 2015.12.18 at 12:37:27 PM CET | |
| 5 | 6 | // |
| 6 | 7 | package pl.itcrowd.youtrack.api.rest; |
| 7 | 8 | |
| ... | ... | @@ -10,11 +11,12 @@ import javax.xml.bind.annotation.XmlAccessorType; |
| 10 | 11 | import javax.xml.bind.annotation.XmlElement; |
| 11 | 12 | import javax.xml.bind.annotation.XmlType; |
| 12 | 13 | |
| 14 | + | |
| 13 | 15 | /** |
| 14 | 16 | * <p>Java class for assignedByType complex type. |
| 15 | - * <p/> | |
| 17 | + * | |
| 16 | 18 | * <p>The following schema fragment specifies the expected content contained within this class. |
| 17 | - * <p/> | |
| 19 | + * | |
| 18 | 20 | * <pre> |
| 19 | 21 | * <complexType name="assignedByType"> |
| 20 | 22 | * <complexContent> |
| ... | ... | @@ -26,6 +28,8 @@ import javax.xml.bind.annotation.XmlType; |
| 26 | 28 | * </complexContent> |
| 27 | 29 | * </complexType> |
| 28 | 30 | * </pre> |
| 31 | + * | |
| 32 | + * | |
| 29 | 33 | */ |
| 30 | 34 | @XmlAccessorType(XmlAccessType.FIELD) |
| 31 | 35 | @XmlType(name = "assignedByType", propOrder = {"userGroupRef"}) |
| ... | ... | @@ -37,8 +41,10 @@ public class AssignedByType { |
| 37 | 41 | /** |
| 38 | 42 | * Gets the value of the userGroupRef property. |
| 39 | 43 | * |
| 40 | - * @return possible object is | |
| 41 | - * {@link UserGroupRefType } | |
| 44 | + * @return | |
| 45 | + * possible object is | |
| 46 | + * {@link UserGroupRefType } | |
| 47 | + * | |
| 42 | 48 | */ |
| 43 | 49 | public UserGroupRefType getUserGroupRef() |
| 44 | 50 | { |
| ... | ... | @@ -48,8 +54,10 @@ public class AssignedByType { |
| 48 | 54 | /** |
| 49 | 55 | * Sets the value of the userGroupRef property. |
| 50 | 56 | * |
| 51 | - * @param value allowed object is | |
| 52 | - * {@link UserGroupRefType } | |
| 57 | + * @param value | |
| 58 | + * allowed object is | |
| 59 | + * {@link UserGroupRefType } | |
| 60 | + * | |
| 53 | 61 | */ |
| 54 | 62 | public void setUserGroupRef(UserGroupRefType value) |
| 55 | 63 | { | ... | ... |
| ... | ... | @@ -2,23 +2,25 @@ |
| 2 | 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 |
| 3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| 4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
| 5 | +// Generated on: 2015.12.18 at 12:37:27 PM CET | |
| 5 | 6 | // |
| 6 | 7 | package pl.itcrowd.youtrack.api.rest; |
| 7 | 8 | |
| 9 | +import java.util.ArrayList; | |
| 10 | +import java.util.List; | |
| 8 | 11 | import javax.xml.bind.annotation.XmlAccessType; |
| 9 | 12 | import javax.xml.bind.annotation.XmlAccessorType; |
| 10 | 13 | import javax.xml.bind.annotation.XmlAttribute; |
| 11 | 14 | import javax.xml.bind.annotation.XmlElement; |
| 12 | 15 | import javax.xml.bind.annotation.XmlRootElement; |
| 13 | 16 | import javax.xml.bind.annotation.XmlType; |
| 14 | -import java.util.ArrayList; | |
| 15 | -import java.util.List; | |
| 17 | + | |
| 16 | 18 | |
| 17 | 19 | /** |
| 18 | 20 | * <p>Java class for anonymous complex type. |
| 19 | - * <p/> | |
| 21 | + * | |
| 20 | 22 | * <p>The following schema fragment specifies the expected content contained within this class. |
| 21 | - * <p/> | |
| 23 | + * | |
| 22 | 24 | * <pre> |
| 23 | 25 | * <complexType> |
| 24 | 26 | * <complexContent> |
| ... | ... | @@ -42,6 +44,8 @@ import java.util.List; |
| 42 | 44 | * </complexContent> |
| 43 | 45 | * </complexType> |
| 44 | 46 | * </pre> |
| 47 | + * | |
| 48 | + * | |
| 45 | 49 | */ |
| 46 | 50 | @XmlAccessorType(XmlAccessType.FIELD) |
| 47 | 51 | @XmlType(name = "", propOrder = {"assignees"}) |
| ... | ... | @@ -50,18 +54,18 @@ public class AssigneeList { |
| 50 | 54 | |
| 51 | 55 | @XmlElement(required = true) |
| 52 | 56 | protected AssigneeList.Assignees assignees; |
| 53 | - | |
| 54 | 57 | @XmlAttribute |
| 55 | 58 | protected String groupsUrl; |
| 56 | - | |
| 57 | 59 | @XmlAttribute |
| 58 | 60 | protected String individualsUrl; |
| 59 | 61 | |
| 60 | 62 | /** |
| 61 | 63 | * Gets the value of the assignees property. |
| 62 | 64 | * |
| 63 | - * @return possible object is | |
| 64 | - * {@link AssigneeList.Assignees } | |
| 65 | + * @return | |
| 66 | + * possible object is | |
| 67 | + * {@link AssigneeList.Assignees } | |
| 68 | + * | |
| 65 | 69 | */ |
| 66 | 70 | public AssigneeList.Assignees getAssignees() |
| 67 | 71 | { |
| ... | ... | @@ -71,8 +75,10 @@ public class AssigneeList { |
| 71 | 75 | /** |
| 72 | 76 | * Sets the value of the assignees property. |
| 73 | 77 | * |
| 74 | - * @param value allowed object is | |
| 75 | - * {@link AssigneeList.Assignees } | |
| 78 | + * @param value | |
| 79 | + * allowed object is | |
| 80 | + * {@link AssigneeList.Assignees } | |
| 81 | + * | |
| 76 | 82 | */ |
| 77 | 83 | public void setAssignees(AssigneeList.Assignees value) |
| 78 | 84 | { |
| ... | ... | @@ -82,8 +88,10 @@ public class AssigneeList { |
| 82 | 88 | /** |
| 83 | 89 | * Gets the value of the groupsUrl property. |
| 84 | 90 | * |
| 85 | - * @return possible object is | |
| 86 | - * {@link String } | |
| 91 | + * @return | |
| 92 | + * possible object is | |
| 93 | + * {@link String } | |
| 94 | + * | |
| 87 | 95 | */ |
| 88 | 96 | public String getGroupsUrl() |
| 89 | 97 | { |
| ... | ... | @@ -93,8 +101,10 @@ public class AssigneeList { |
| 93 | 101 | /** |
| 94 | 102 | * Sets the value of the groupsUrl property. |
| 95 | 103 | * |
| 96 | - * @param value allowed object is | |
| 97 | - * {@link String } | |
| 104 | + * @param value | |
| 105 | + * allowed object is | |
| 106 | + * {@link String } | |
| 107 | + * | |
| 98 | 108 | */ |
| 99 | 109 | public void setGroupsUrl(String value) |
| 100 | 110 | { |
| ... | ... | @@ -104,8 +114,10 @@ public class AssigneeList { |
| 104 | 114 | /** |
| 105 | 115 | * Gets the value of the individualsUrl property. |
| 106 | 116 | * |
| 107 | - * @return possible object is | |
| 108 | - * {@link String } | |
| 117 | + * @return | |
| 118 | + * possible object is | |
| 119 | + * {@link String } | |
| 120 | + * | |
| 109 | 121 | */ |
| 110 | 122 | public String getIndividualsUrl() |
| 111 | 123 | { |
| ... | ... | @@ -115,19 +127,22 @@ public class AssigneeList { |
| 115 | 127 | /** |
| 116 | 128 | * Sets the value of the individualsUrl property. |
| 117 | 129 | * |
| 118 | - * @param value allowed object is | |
| 119 | - * {@link String } | |
| 130 | + * @param value | |
| 131 | + * allowed object is | |
| 132 | + * {@link String } | |
| 133 | + * | |
| 120 | 134 | */ |
| 121 | 135 | public void setIndividualsUrl(String value) |
| 122 | 136 | { |
| 123 | 137 | this.individualsUrl = value; |
| 124 | 138 | } |
| 125 | 139 | |
| 140 | + | |
| 126 | 141 | /** |
| 127 | 142 | * <p>Java class for anonymous complex type. |
| 128 | - * <p/> | |
| 143 | + * | |
| 129 | 144 | * <p>The following schema fragment specifies the expected content contained within this class. |
| 130 | - * <p/> | |
| 145 | + * | |
| 131 | 146 | * <pre> |
| 132 | 147 | * <complexType> |
| 133 | 148 | * <complexContent> |
| ... | ... | @@ -139,6 +154,8 @@ public class AssigneeList { |
| 139 | 154 | * </complexContent> |
| 140 | 155 | * </complexType> |
| 141 | 156 | * </pre> |
| 157 | + * | |
| 158 | + * | |
| 142 | 159 | */ |
| 143 | 160 | @XmlAccessorType(XmlAccessType.FIELD) |
| 144 | 161 | @XmlType(name = "", propOrder = {"assignees"}) |
| ... | ... | @@ -149,23 +166,25 @@ public class AssigneeList { |
| 149 | 166 | |
| 150 | 167 | /** |
| 151 | 168 | * Gets the value of the assignees property. |
| 152 | - * <p/> | |
| 153 | - * <p/> | |
| 169 | + * | |
| 170 | + * <p> | |
| 154 | 171 | * This accessor method returns a reference to the live list, |
| 155 | 172 | * not a snapshot. Therefore any modification you make to the |
| 156 | 173 | * returned list will be present inside the JAXB object. |
| 157 | 174 | * This is why there is not a <CODE>set</CODE> method for the assignees property. |
| 158 | - * <p/> | |
| 159 | - * <p/> | |
| 175 | + * | |
| 176 | + * <p> | |
| 160 | 177 | * For example, to add a new item, do as follows: |
| 161 | 178 | * <pre> |
| 162 | 179 | * getAssignees().add(newItem); |
| 163 | 180 | * </pre> |
| 164 | - * <p/> | |
| 165 | - * <p/> | |
| 166 | - * <p/> | |
| 181 | + * | |
| 182 | + * | |
| 183 | + * <p> | |
| 167 | 184 | * Objects of the following type(s) are allowed in the list |
| 168 | 185 | * {@link AssigneeType } |
| 186 | + * | |
| 187 | + * | |
| 169 | 188 | */ |
| 170 | 189 | public List<AssigneeType> getAssignees() |
| 171 | 190 | { | ... | ... |
| ... | ... | @@ -2,6 +2,7 @@ |
| 2 | 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 |
| 3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| 4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
| 5 | +// Generated on: 2015.12.18 at 12:37:27 PM CET | |
| 5 | 6 | // |
| 6 | 7 | package pl.itcrowd.youtrack.api.rest; |
| 7 | 8 | |
| ... | ... | @@ -11,11 +12,12 @@ import javax.xml.bind.annotation.XmlAttribute; |
| 11 | 12 | import javax.xml.bind.annotation.XmlElement; |
| 12 | 13 | import javax.xml.bind.annotation.XmlType; |
| 13 | 14 | |
| 15 | + | |
| 14 | 16 | /** |
| 15 | 17 | * <p>Java class for assigneeType complex type. |
| 16 | - * <p/> | |
| 18 | + * | |
| 17 | 19 | * <p>The following schema fragment specifies the expected content contained within this class. |
| 18 | - * <p/> | |
| 20 | + * | |
| 19 | 21 | * <pre> |
| 20 | 22 | * <complexType name="assigneeType"> |
| 21 | 23 | * <complexContent> |
| ... | ... | @@ -29,6 +31,8 @@ import javax.xml.bind.annotation.XmlType; |
| 29 | 31 | * </complexContent> |
| 30 | 32 | * </complexType> |
| 31 | 33 | * </pre> |
| 34 | + * | |
| 35 | + * | |
| 32 | 36 | */ |
| 33 | 37 | @XmlAccessorType(XmlAccessType.FIELD) |
| 34 | 38 | @XmlType(name = "assigneeType", propOrder = {"assignedBy"}) |
| ... | ... | @@ -38,16 +42,18 @@ public class AssigneeType { |
| 38 | 42 | protected AssignedByType assignedBy; |
| 39 | 43 | |
| 40 | 44 | @XmlAttribute |
| 41 | - protected String login; | |
| 45 | + protected String isIndividualAssignee; | |
| 42 | 46 | |
| 43 | 47 | @XmlAttribute |
| 44 | - protected String isIndividualAssignee; | |
| 48 | + protected String login; | |
| 45 | 49 | |
| 46 | 50 | /** |
| 47 | 51 | * Gets the value of the assignedBy property. |
| 48 | 52 | * |
| 49 | - * @return possible object is | |
| 50 | - * {@link AssignedByType } | |
| 53 | + * @return | |
| 54 | + * possible object is | |
| 55 | + * {@link AssignedByType } | |
| 56 | + * | |
| 51 | 57 | */ |
| 52 | 58 | public AssignedByType getAssignedBy() |
| 53 | 59 | { |
| ... | ... | @@ -57,8 +63,10 @@ public class AssigneeType { |
| 57 | 63 | /** |
| 58 | 64 | * Sets the value of the assignedBy property. |
| 59 | 65 | * |
| 60 | - * @param value allowed object is | |
| 61 | - * {@link AssignedByType } | |
| 66 | + * @param value | |
| 67 | + * allowed object is | |
| 68 | + * {@link AssignedByType } | |
| 69 | + * | |
| 62 | 70 | */ |
| 63 | 71 | public void setAssignedBy(AssignedByType value) |
| 64 | 72 | { |
| ... | ... | @@ -66,46 +74,54 @@ public class AssigneeType { |
| 66 | 74 | } |
| 67 | 75 | |
| 68 | 76 | /** |
| 69 | - * Gets the value of the login property. | |
| 77 | + * Gets the value of the isIndividualAssignee property. | |
| 78 | + * | |
| 79 | + * @return | |
| 80 | + * possible object is | |
| 81 | + * {@link String } | |
| 70 | 82 | * |
| 71 | - * @return possible object is | |
| 72 | - * {@link String } | |
| 73 | 83 | */ |
| 74 | - public String getLogin() | |
| 84 | + public String getIsIndividualAssignee() | |
| 75 | 85 | { |
| 76 | - return login; | |
| 86 | + return isIndividualAssignee; | |
| 77 | 87 | } |
| 78 | 88 | |
| 79 | 89 | /** |
| 80 | - * Sets the value of the login property. | |
| 90 | + * Sets the value of the isIndividualAssignee property. | |
| 91 | + * | |
| 92 | + * @param value | |
| 93 | + * allowed object is | |
| 94 | + * {@link String } | |
| 81 | 95 | * |
| 82 | - * @param value allowed object is | |
| 83 | - * {@link String } | |
| 84 | 96 | */ |
| 85 | - public void setLogin(String value) | |
| 97 | + public void setIsIndividualAssignee(String value) | |
| 86 | 98 | { |
| 87 | - this.login = value; | |
| 99 | + this.isIndividualAssignee = value; | |
| 88 | 100 | } |
| 89 | 101 | |
| 90 | 102 | /** |
| 91 | - * Gets the value of the isIndividualAssignee property. | |
| 103 | + * Gets the value of the login property. | |
| 104 | + * | |
| 105 | + * @return | |
| 106 | + * possible object is | |
| 107 | + * {@link String } | |
| 92 | 108 | * |
| 93 | - * @return possible object is | |
| 94 | - * {@link String } | |
| 95 | 109 | */ |
| 96 | - public String getIsIndividualAssignee() | |
| 110 | + public String getLogin() | |
| 97 | 111 | { |
| 98 | - return isIndividualAssignee; | |
| 112 | + return login; | |
| 99 | 113 | } |
| 100 | 114 | |
| 101 | 115 | /** |
| 102 | - * Sets the value of the isIndividualAssignee property. | |
| 116 | + * Sets the value of the login property. | |
| 117 | + * | |
| 118 | + * @param value | |
| 119 | + * allowed object is | |
| 120 | + * {@link String } | |
| 103 | 121 | * |
| 104 | - * @param value allowed object is | |
| 105 | - * {@link String } | |
| 106 | 122 | */ |
| 107 | - public void setIsIndividualAssignee(String value) | |
| 123 | + public void setLogin(String value) | |
| 108 | 124 | { |
| 109 | - this.isIndividualAssignee = value; | |
| 125 | + this.login = value; | |
| 110 | 126 | } |
| 111 | 127 | } | ... | ... |
| ... | ... | @@ -2,9 +2,13 @@ |
| 2 | 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 |
| 3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| 4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
| 5 | +// Generated on: 2015.12.18 at 12:37:27 PM CET | |
| 5 | 6 | // |
| 6 | 7 | package pl.itcrowd.youtrack.api.rest; |
| 7 | 8 | |
| 9 | +import java.io.Serializable; | |
| 10 | +import java.util.ArrayList; | |
| 11 | +import java.util.List; | |
| 8 | 12 | import javax.xml.bind.JAXBElement; |
| 9 | 13 | import javax.xml.bind.annotation.XmlAccessType; |
| 10 | 14 | import javax.xml.bind.annotation.XmlAccessorType; |
| ... | ... | @@ -14,15 +18,13 @@ import javax.xml.bind.annotation.XmlElementRefs; |
| 14 | 18 | import javax.xml.bind.annotation.XmlMixed; |
| 15 | 19 | import javax.xml.bind.annotation.XmlType; |
| 16 | 20 | import javax.xml.bind.annotation.XmlValue; |
| 17 | -import java.io.Serializable; | |
| 18 | -import java.util.ArrayList; | |
| 19 | -import java.util.List; | |
| 21 | + | |
| 20 | 22 | |
| 21 | 23 | /** |
| 22 | 24 | * <p>Java class for commentType complex type. |
| 23 | - * <p/> | |
| 25 | + * | |
| 24 | 26 | * <p>The following schema fragment specifies the expected content contained within this class. |
| 25 | - * <p/> | |
| 27 | + * | |
| 26 | 28 | * <pre> |
| 27 | 29 | * <complexType name="commentType"> |
| 28 | 30 | * <complexContent> |
| ... | ... | @@ -53,63 +55,91 @@ import java.util.List; |
| 53 | 55 | * </complexContent> |
| 54 | 56 | * </complexType> |
| 55 | 57 | * </pre> |
| 58 | + * | |
| 59 | + * | |
| 56 | 60 | */ |
| 57 | 61 | @XmlAccessorType(XmlAccessType.FIELD) |
| 58 | 62 | @XmlType(name = "commentType", propOrder = {"content"}) |
| 59 | 63 | public class Comment { |
| 60 | 64 | |
| 61 | - @XmlElementRefs({@XmlElementRef(name = "replies", type = JAXBElement.class), @XmlElementRef(name = "value", type = JAXBElement.class)}) | |
| 65 | + @XmlAttribute | |
| 66 | + protected String author; | |
| 67 | + | |
| 68 | + @XmlElementRefs({@XmlElementRef(name = "value", type = JAXBElement.class), @XmlElementRef(name = "replies", type = JAXBElement.class)}) | |
| 62 | 69 | @XmlMixed |
| 63 | 70 | protected List<Serializable> content; |
| 64 | 71 | |
| 65 | 72 | @XmlAttribute |
| 66 | - protected String id; | |
| 73 | + protected Long created; | |
| 67 | 74 | |
| 68 | 75 | @XmlAttribute |
| 69 | - protected String author; | |
| 76 | + protected String deleted; | |
| 70 | 77 | |
| 71 | 78 | @XmlAttribute |
| 72 | - protected String issueId; | |
| 79 | + protected String id; | |
| 73 | 80 | |
| 74 | 81 | @XmlAttribute |
| 75 | - protected String deleted; | |
| 82 | + protected String issueId; | |
| 76 | 83 | |
| 77 | 84 | @XmlAttribute |
| 78 | - protected String text; | |
| 85 | + protected String name; | |
| 79 | 86 | |
| 80 | 87 | @XmlAttribute |
| 81 | 88 | protected String shownForIssueAuthor; |
| 82 | 89 | |
| 83 | 90 | @XmlAttribute |
| 84 | - protected Long created; | |
| 91 | + protected String text; | |
| 85 | 92 | |
| 86 | 93 | @XmlAttribute |
| 87 | 94 | protected Long updated; |
| 88 | 95 | |
| 89 | - @XmlAttribute | |
| 90 | - protected String name; | |
| 96 | + /** | |
| 97 | + * Gets the value of the author property. | |
| 98 | + * | |
| 99 | + * @return possible object is | |
| 100 | + * {@link String } | |
| 101 | + */ | |
| 102 | + public String getAuthor() | |
| 103 | + { | |
| 104 | + return author; | |
| 105 | + } | |
| 106 | + | |
| 107 | + /** | |
| 108 | + * Sets the value of the author property. | |
| 109 | + * | |
| 110 | + * @param value | |
| 111 | + * allowed object is | |
| 112 | + * {@link String } | |
| 113 | + * | |
| 114 | + */ | |
| 115 | + public void setAuthor(String value) | |
| 116 | + { | |
| 117 | + this.author = value; | |
| 118 | + } | |
| 91 | 119 | |
| 92 | 120 | /** |
| 93 | 121 | * Gets the value of the content property. |
| 94 | - * <p/> | |
| 95 | - * <p/> | |
| 122 | + * | |
| 123 | + * <p> | |
| 96 | 124 | * This accessor method returns a reference to the live list, |
| 97 | 125 | * not a snapshot. Therefore any modification you make to the |
| 98 | 126 | * returned list will be present inside the JAXB object. |
| 99 | 127 | * This is why there is not a <CODE>set</CODE> method for the content property. |
| 100 | - * <p/> | |
| 101 | - * <p/> | |
| 128 | + * | |
| 129 | + * <p> | |
| 102 | 130 | * For example, to add a new item, do as follows: |
| 103 | 131 | * <pre> |
| 104 | 132 | * getContent().add(newItem); |
| 105 | 133 | * </pre> |
| 106 | - * <p/> | |
| 107 | - * <p/> | |
| 108 | - * <p/> | |
| 134 | + * | |
| 135 | + * | |
| 136 | + * <p> | |
| 109 | 137 | * Objects of the following type(s) are allowed in the list |
| 110 | - * {@link JAXBElement }{@code <}{@link Comment.Value }{@code >} | |
| 111 | - * {@link String } | |
| 112 | 138 | * {@link JAXBElement }{@code <}{@link String }{@code >} |
| 139 | + * {@link String } | |
| 140 | + * {@link JAXBElement }{@code <}{@link Comment.Value }{@code >} | |
| 141 | + * | |
| 142 | + * | |
| 113 | 143 | */ |
| 114 | 144 | public List<Serializable> getContent() |
| 115 | 145 | { |
| ... | ... | @@ -120,120 +150,142 @@ public class Comment { |
| 120 | 150 | } |
| 121 | 151 | |
| 122 | 152 | /** |
| 123 | - * Gets the value of the id property. | |
| 153 | + * Gets the value of the created property. | |
| 154 | + * | |
| 155 | + * @return | |
| 156 | + * possible object is | |
| 157 | + * {@link Long } | |
| 124 | 158 | * |
| 125 | - * @return possible object is | |
| 126 | - * {@link String } | |
| 127 | 159 | */ |
| 128 | - public String getId() | |
| 160 | + public Long getCreated() | |
| 129 | 161 | { |
| 130 | - return id; | |
| 162 | + return created; | |
| 131 | 163 | } |
| 132 | 164 | |
| 133 | 165 | /** |
| 134 | - * Sets the value of the id property. | |
| 166 | + * Sets the value of the created property. | |
| 167 | + * | |
| 168 | + * @param value | |
| 169 | + * allowed object is | |
| 170 | + * {@link Long } | |
| 135 | 171 | * |
| 136 | - * @param value allowed object is | |
| 137 | - * {@link String } | |
| 138 | 172 | */ |
| 139 | - public void setId(String value) | |
| 173 | + public void setCreated(Long value) | |
| 140 | 174 | { |
| 141 | - this.id = value; | |
| 175 | + this.created = value; | |
| 142 | 176 | } |
| 143 | 177 | |
| 144 | 178 | /** |
| 145 | - * Gets the value of the author property. | |
| 179 | + * Gets the value of the deleted property. | |
| 180 | + * | |
| 181 | + * @return | |
| 182 | + * possible object is | |
| 183 | + * {@link String } | |
| 146 | 184 | * |
| 147 | - * @return possible object is | |
| 148 | - * {@link String } | |
| 149 | 185 | */ |
| 150 | - public String getAuthor() | |
| 186 | + public String getDeleted() | |
| 151 | 187 | { |
| 152 | - return author; | |
| 188 | + return deleted; | |
| 153 | 189 | } |
| 154 | 190 | |
| 155 | 191 | /** |
| 156 | - * Sets the value of the author property. | |
| 192 | + * Sets the value of the deleted property. | |
| 193 | + * | |
| 194 | + * @param value | |
| 195 | + * allowed object is | |
| 196 | + * {@link String } | |
| 157 | 197 | * |
| 158 | - * @param value allowed object is | |
| 159 | - * {@link String } | |
| 160 | 198 | */ |
| 161 | - public void setAuthor(String value) | |
| 199 | + public void setDeleted(String value) | |
| 162 | 200 | { |
| 163 | - this.author = value; | |
| 201 | + this.deleted = value; | |
| 164 | 202 | } |
| 165 | 203 | |
| 166 | 204 | /** |
| 167 | - * Gets the value of the issueId property. | |
| 205 | + * Gets the value of the id property. | |
| 206 | + * | |
| 207 | + * @return | |
| 208 | + * possible object is | |
| 209 | + * {@link String } | |
| 168 | 210 | * |
| 169 | - * @return possible object is | |
| 170 | - * {@link String } | |
| 171 | 211 | */ |
| 172 | - public String getIssueId() | |
| 212 | + public String getId() | |
| 173 | 213 | { |
| 174 | - return issueId; | |
| 214 | + return id; | |
| 175 | 215 | } |
| 176 | 216 | |
| 177 | 217 | /** |
| 178 | - * Sets the value of the issueId property. | |
| 218 | + * Sets the value of the id property. | |
| 219 | + * | |
| 220 | + * @param value | |
| 221 | + * allowed object is | |
| 222 | + * {@link String } | |
| 179 | 223 | * |
| 180 | - * @param value allowed object is | |
| 181 | - * {@link String } | |
| 182 | 224 | */ |
| 183 | - public void setIssueId(String value) | |
| 225 | + public void setId(String value) | |
| 184 | 226 | { |
| 185 | - this.issueId = value; | |
| 227 | + this.id = value; | |
| 186 | 228 | } |
| 187 | 229 | |
| 188 | 230 | /** |
| 189 | - * Gets the value of the deleted property. | |
| 231 | + * Gets the value of the issueId property. | |
| 232 | + * | |
| 233 | + * @return | |
| 234 | + * possible object is | |
| 235 | + * {@link String } | |
| 190 | 236 | * |
| 191 | - * @return possible object is | |
| 192 | - * {@link String } | |
| 193 | 237 | */ |
| 194 | - public String getDeleted() | |
| 238 | + public String getIssueId() | |
| 195 | 239 | { |
| 196 | - return deleted; | |
| 240 | + return issueId; | |
| 197 | 241 | } |
| 198 | 242 | |
| 199 | 243 | /** |
| 200 | - * Sets the value of the deleted property. | |
| 244 | + * Sets the value of the issueId property. | |
| 245 | + * | |
| 246 | + * @param value | |
| 247 | + * allowed object is | |
| 248 | + * {@link String } | |
| 201 | 249 | * |
| 202 | - * @param value allowed object is | |
| 203 | - * {@link String } | |
| 204 | 250 | */ |
| 205 | - public void setDeleted(String value) | |
| 251 | + public void setIssueId(String value) | |
| 206 | 252 | { |
| 207 | - this.deleted = value; | |
| 253 | + this.issueId = value; | |
| 208 | 254 | } |
| 209 | 255 | |
| 210 | 256 | /** |
| 211 | - * Gets the value of the text property. | |
| 257 | + * Gets the value of the name property. | |
| 258 | + * | |
| 259 | + * @return | |
| 260 | + * possible object is | |
| 261 | + * {@link String } | |
| 212 | 262 | * |
| 213 | - * @return possible object is | |
| 214 | - * {@link String } | |
| 215 | 263 | */ |
| 216 | - public String getText() | |
| 264 | + public String getName() | |
| 217 | 265 | { |
| 218 | - return text; | |
| 266 | + return name; | |
| 219 | 267 | } |
| 220 | 268 | |
| 221 | 269 | /** |
| 222 | - * Sets the value of the text property. | |
| 270 | + * Sets the value of the name property. | |
| 271 | + * | |
| 272 | + * @param value | |
| 273 | + * allowed object is | |
| 274 | + * {@link String } | |
| 223 | 275 | * |
| 224 | - * @param value allowed object is | |
| 225 | - * {@link String } | |
| 226 | 276 | */ |
| 227 | - public void setText(String value) | |
| 277 | + public void setName(String value) | |
| 228 | 278 | { |
| 229 | - this.text = value; | |
| 279 | + this.name = value; | |
| 230 | 280 | } |
| 231 | 281 | |
| 232 | 282 | /** |
| 233 | 283 | * Gets the value of the shownForIssueAuthor property. |
| 234 | 284 | * |
| 235 | - * @return possible object is | |
| 236 | - * {@link String } | |
| 285 | + * @return | |
| 286 | + * possible object is | |
| 287 | + * {@link String } | |
| 288 | + * | |
| 237 | 289 | */ |
| 238 | 290 | public String getShownForIssueAuthor() |
| 239 | 291 | { |
| ... | ... | @@ -243,8 +295,10 @@ public class Comment { |
| 243 | 295 | /** |
| 244 | 296 | * Sets the value of the shownForIssueAuthor property. |
| 245 | 297 | * |
| 246 | - * @param value allowed object is | |
| 247 | - * {@link String } | |
| 298 | + * @param value | |
| 299 | + * allowed object is | |
| 300 | + * {@link String } | |
| 301 | + * | |
| 248 | 302 | */ |
| 249 | 303 | public void setShownForIssueAuthor(String value) |
| 250 | 304 | { |
| ... | ... | @@ -252,32 +306,38 @@ public class Comment { |
| 252 | 306 | } |
| 253 | 307 | |
| 254 | 308 | /** |
| 255 | - * Gets the value of the created property. | |
| 309 | + * Gets the value of the text property. | |
| 310 | + * | |
| 311 | + * @return | |
| 312 | + * possible object is | |
| 313 | + * {@link String } | |
| 256 | 314 | * |
| 257 | - * @return possible object is | |
| 258 | - * {@link Long } | |
| 259 | 315 | */ |
| 260 | - public Long getCreated() | |
| 316 | + public String getText() | |
| 261 | 317 | { |
| 262 | - return created; | |
| 318 | + return text; | |
| 263 | 319 | } |
| 264 | 320 | |
| 265 | 321 | /** |
| 266 | - * Sets the value of the created property. | |
| 322 | + * Sets the value of the text property. | |
| 323 | + * | |
| 324 | + * @param value | |
| 325 | + * allowed object is | |
| 326 | + * {@link String } | |
| 267 | 327 | * |
| 268 | - * @param value allowed object is | |
| 269 | - * {@link Long } | |
| 270 | 328 | */ |
| 271 | - public void setCreated(Long value) | |
| 329 | + public void setText(String value) | |
| 272 | 330 | { |
| 273 | - this.created = value; | |
| 331 | + this.text = value; | |
| 274 | 332 | } |
| 275 | 333 | |
| 276 | 334 | /** |
| 277 | 335 | * Gets the value of the updated property. |
| 278 | 336 | * |
| 279 | - * @return possible object is | |
| 280 | - * {@link Long } | |
| 337 | + * @return | |
| 338 | + * possible object is | |
| 339 | + * {@link Long } | |
| 340 | + * | |
| 281 | 341 | */ |
| 282 | 342 | public Long getUpdated() |
| 283 | 343 | { |
| ... | ... | @@ -287,8 +347,10 @@ public class Comment { |
| 287 | 347 | /** |
| 288 | 348 | * Sets the value of the updated property. |
| 289 | 349 | * |
| 290 | - * @param value allowed object is | |
| 291 | - * {@link Long } | |
| 350 | + * @param value | |
| 351 | + * allowed object is | |
| 352 | + * {@link Long } | |
| 353 | + * | |
| 292 | 354 | */ |
| 293 | 355 | public void setUpdated(Long value) |
| 294 | 356 | { |
| ... | ... | @@ -296,32 +358,10 @@ public class Comment { |
| 296 | 358 | } |
| 297 | 359 | |
| 298 | 360 | /** |
| 299 | - * Gets the value of the name property. | |
| 300 | - * | |
| 301 | - * @return possible object is | |
| 302 | - * {@link String } | |
| 303 | - */ | |
| 304 | - public String getName() | |
| 305 | - { | |
| 306 | - return name; | |
| 307 | - } | |
| 308 | - | |
| 309 | - /** | |
| 310 | - * Sets the value of the name property. | |
| 311 | - * | |
| 312 | - * @param value allowed object is | |
| 313 | - * {@link String } | |
| 314 | - */ | |
| 315 | - public void setName(String value) | |
| 316 | - { | |
| 317 | - this.name = value; | |
| 318 | - } | |
| 319 | - | |
| 320 | - /** | |
| 321 | 361 | * <p>Java class for anonymous complex type. |
| 322 | - * <p/> | |
| 362 | + * | |
| 323 | 363 | * <p>The following schema fragment specifies the expected content contained within this class. |
| 324 | - * <p/> | |
| 364 | + * | |
| 325 | 365 | * <pre> |
| 326 | 366 | * <complexType> |
| 327 | 367 | * <simpleContent> |
| ... | ... | @@ -332,47 +372,55 @@ public class Comment { |
| 332 | 372 | * </simpleContent> |
| 333 | 373 | * </complexType> |
| 334 | 374 | * </pre> |
| 375 | + * | |
| 376 | + * | |
| 335 | 377 | */ |
| 336 | 378 | @XmlAccessorType(XmlAccessType.FIELD) |
| 337 | 379 | @XmlType(name = "", propOrder = {"value"}) |
| 338 | 380 | public static class Value { |
| 339 | 381 | |
| 340 | - @XmlValue | |
| 341 | - protected String value; | |
| 382 | + @XmlAttribute | |
| 383 | + protected String role; | |
| 342 | 384 | |
| 343 | 385 | @XmlAttribute |
| 344 | 386 | protected String type; |
| 345 | 387 | |
| 346 | - @XmlAttribute | |
| 347 | - protected String role; | |
| 388 | + @XmlValue | |
| 389 | + protected String value; | |
| 348 | 390 | |
| 349 | 391 | /** |
| 350 | - * Gets the value of the value property. | |
| 392 | + * Gets the value of the role property. | |
| 393 | + * | |
| 394 | + * @return | |
| 395 | + * possible object is | |
| 396 | + * {@link String } | |
| 351 | 397 | * |
| 352 | - * @return possible object is | |
| 353 | - * {@link String } | |
| 354 | 398 | */ |
| 355 | - public String getValue() | |
| 399 | + public String getRole() | |
| 356 | 400 | { |
| 357 | - return value; | |
| 401 | + return role; | |
| 358 | 402 | } |
| 359 | 403 | |
| 360 | 404 | /** |
| 361 | - * Sets the value of the value property. | |
| 405 | + * Sets the value of the role property. | |
| 406 | + * | |
| 407 | + * @param value | |
| 408 | + * allowed object is | |
| 409 | + * {@link String } | |
| 362 | 410 | * |
| 363 | - * @param value allowed object is | |
| 364 | - * {@link String } | |
| 365 | 411 | */ |
| 366 | - public void setValue(String value) | |
| 412 | + public void setRole(String value) | |
| 367 | 413 | { |
| 368 | - this.value = value; | |
| 414 | + this.role = value; | |
| 369 | 415 | } |
| 370 | 416 | |
| 371 | 417 | /** |
| 372 | 418 | * Gets the value of the type property. |
| 419 | + * | |
| 420 | + * @return | |
| 421 | + * possible object is | |
| 422 | + * {@link String } | |
| 373 | 423 | * |
| 374 | - * @return possible object is | |
| 375 | - * {@link String } | |
| 376 | 424 | */ |
| 377 | 425 | public String getType() |
| 378 | 426 | { |
| ... | ... | @@ -381,9 +429,11 @@ public class Comment { |
| 381 | 429 | |
| 382 | 430 | /** |
| 383 | 431 | * Sets the value of the type property. |
| 432 | + * | |
| 433 | + * @param value | |
| 434 | + * allowed object is | |
| 435 | + * {@link String } | |
| 384 | 436 | * |
| 385 | - * @param value allowed object is | |
| 386 | - * {@link String } | |
| 387 | 437 | */ |
| 388 | 438 | public void setType(String value) |
| 389 | 439 | { |
| ... | ... | @@ -391,25 +441,29 @@ public class Comment { |
| 391 | 441 | } |
| 392 | 442 | |
| 393 | 443 | /** |
| 394 | - * Gets the value of the role property. | |
| 444 | + * Gets the value of the value property. | |
| 445 | + * | |
| 446 | + * @return | |
| 447 | + * possible object is | |
| 448 | + * {@link String } | |
| 395 | 449 | * |
| 396 | - * @return possible object is | |
| 397 | - * {@link String } | |
| 398 | 450 | */ |
| 399 | - public String getRole() | |
| 451 | + public String getValue() | |
| 400 | 452 | { |
| 401 | - return role; | |
| 453 | + return value; | |
| 402 | 454 | } |
| 403 | 455 | |
| 404 | 456 | /** |
| 405 | - * Sets the value of the role property. | |
| 457 | + * Sets the value of the value property. | |
| 458 | + * | |
| 459 | + * @param value | |
| 460 | + * allowed object is | |
| 461 | + * {@link String } | |
| 406 | 462 | * |
| 407 | - * @param value allowed object is | |
| 408 | - * {@link String } | |
| 409 | 463 | */ |
| 410 | - public void setRole(String value) | |
| 464 | + public void setValue(String value) | |
| 411 | 465 | { |
| 412 | - this.role = value; | |
| 466 | + this.value = value; | |
| 413 | 467 | } |
| 414 | 468 | } |
| 415 | 469 | } | ... | ... |
| ... | ... | @@ -2,22 +2,24 @@ |
| 2 | 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 |
| 3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| 4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
| 5 | +// Generated on: 2015.12.18 at 12:37:27 PM CET | |
| 5 | 6 | // |
| 6 | 7 | package pl.itcrowd.youtrack.api.rest; |
| 7 | 8 | |
| 9 | +import java.util.ArrayList; | |
| 10 | +import java.util.List; | |
| 8 | 11 | import javax.xml.bind.annotation.XmlAccessType; |
| 9 | 12 | import javax.xml.bind.annotation.XmlAccessorType; |
| 10 | 13 | import javax.xml.bind.annotation.XmlAttribute; |
| 11 | 14 | import javax.xml.bind.annotation.XmlElement; |
| 12 | 15 | import javax.xml.bind.annotation.XmlType; |
| 13 | -import java.util.ArrayList; | |
| 14 | -import java.util.List; | |
| 16 | + | |
| 15 | 17 | |
| 16 | 18 | /** |
| 17 | 19 | * <p>Java class for enumerationType complex type. |
| 18 | - * <p/> | |
| 20 | + * | |
| 19 | 21 | * <p>The following schema fragment specifies the expected content contained within this class. |
| 20 | - * <p/> | |
| 22 | + * | |
| 21 | 23 | * <pre> |
| 22 | 24 | * <complexType name="enumerationType"> |
| 23 | 25 | * <complexContent> |
| ... | ... | @@ -30,36 +32,64 @@ import java.util.List; |
| 30 | 32 | * </complexContent> |
| 31 | 33 | * </complexType> |
| 32 | 34 | * </pre> |
| 35 | + * | |
| 36 | + * | |
| 33 | 37 | */ |
| 34 | 38 | @XmlAccessorType(XmlAccessType.FIELD) |
| 35 | 39 | @XmlType(name = "enumerationType", propOrder = {"values"}) |
| 36 | 40 | public class Enumeration { |
| 37 | 41 | |
| 42 | + @XmlAttribute | |
| 43 | + protected String name; | |
| 44 | + | |
| 38 | 45 | @XmlElement(name = "value") |
| 39 | 46 | protected List<EnumerationValue> values; |
| 40 | 47 | |
| 41 | - @XmlAttribute | |
| 42 | - protected String name; | |
| 48 | + /** | |
| 49 | + * Gets the value of the name property. | |
| 50 | + * | |
| 51 | + * @return possible object is | |
| 52 | + * {@link String } | |
| 53 | + */ | |
| 54 | + public String getName() | |
| 55 | + { | |
| 56 | + return name; | |
| 57 | + } | |
| 58 | + | |
| 59 | + /** | |
| 60 | + * Sets the value of the name property. | |
| 61 | + * | |
| 62 | + * @param value | |
| 63 | + * allowed object is | |
| 64 | + * {@link String } | |
| 65 | + * | |
| 66 | + */ | |
| 67 | + public void setName(String value) | |
| 68 | + { | |
| 69 | + this.name = value; | |
| 70 | + } | |
| 43 | 71 | |
| 44 | 72 | /** |
| 45 | 73 | * Gets the value of the values property. |
| 46 | - * <p/> | |
| 47 | - * <p/> | |
| 74 | + * | |
| 75 | + * <p> | |
| 48 | 76 | * This accessor method returns a reference to the live list, |
| 49 | 77 | * not a snapshot. Therefore any modification you make to the |
| 50 | 78 | * returned list will be present inside the JAXB object. |
| 51 | 79 | * This is why there is not a <CODE>set</CODE> method for the values property. |
| 52 | - * <p/> | |
| 53 | - * <p/> | |
| 80 | + * | |
| 81 | + * <p> | |
| 54 | 82 | * For example, to add a new item, do as follows: |
| 55 | 83 | * <pre> |
| 56 | 84 | * getValues().add(newItem); |
| 57 | 85 | * </pre> |
| 58 | - * <p/> | |
| 59 | - * <p/> | |
| 60 | - * <p/> | |
| 86 | + * | |
| 87 | + * | |
| 88 | + * <p> | |
| 61 | 89 | * Objects of the following type(s) are allowed in the list |
| 62 | 90 | * {@link EnumerationValue } |
| 91 | + * | |
| 92 | + * | |
| 63 | 93 | */ |
| 64 | 94 | public List<EnumerationValue> getValues() |
| 65 | 95 | { |
| ... | ... | @@ -69,25 +99,4 @@ public class Enumeration { |
| 69 | 99 | return this.values; |
| 70 | 100 | } |
| 71 | 101 | |
| 72 | - /** | |
| 73 | - * Gets the value of the name property. | |
| 74 | - * | |
| 75 | - * @return possible object is | |
| 76 | - * {@link String } | |
| 77 | - */ | |
| 78 | - public String getName() | |
| 79 | - { | |
| 80 | - return name; | |
| 81 | - } | |
| 82 | - | |
| 83 | - /** | |
| 84 | - * Sets the value of the name property. | |
| 85 | - * | |
| 86 | - * @param value allowed object is | |
| 87 | - * {@link String } | |
| 88 | - */ | |
| 89 | - public void setName(String value) | |
| 90 | - { | |
| 91 | - this.name = value; | |
| 92 | - } | |
| 93 | 102 | } | ... | ... |
| ... | ... | @@ -2,6 +2,7 @@ |
| 2 | 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 |
| 3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| 4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
| 5 | +// Generated on: 2015.12.18 at 12:37:27 PM CET | |
| 5 | 6 | // |
| 6 | 7 | package pl.itcrowd.youtrack.api.rest; |
| 7 | 8 | |
| ... | ... | @@ -11,11 +12,12 @@ import javax.xml.bind.annotation.XmlAttribute; |
| 11 | 12 | import javax.xml.bind.annotation.XmlType; |
| 12 | 13 | import javax.xml.bind.annotation.XmlValue; |
| 13 | 14 | |
| 15 | + | |
| 14 | 16 | /** |
| 15 | 17 | * <p>Java class for enumerationValueType complex type. |
| 16 | - * <p/> | |
| 18 | + * | |
| 17 | 19 | * <p>The following schema fragment specifies the expected content contained within this class. |
| 18 | - * <p/> | |
| 20 | + * | |
| 19 | 21 | * <pre> |
| 20 | 22 | * <complexType name="enumerationValueType"> |
| 21 | 23 | * <simpleContent> |
| ... | ... | @@ -25,58 +27,68 @@ import javax.xml.bind.annotation.XmlValue; |
| 25 | 27 | * </simpleContent> |
| 26 | 28 | * </complexType> |
| 27 | 29 | * </pre> |
| 30 | + * | |
| 31 | + * | |
| 28 | 32 | */ |
| 29 | 33 | @XmlAccessorType(XmlAccessType.FIELD) |
| 30 | 34 | @XmlType(name = "enumerationValueType", propOrder = {"value"}) |
| 31 | 35 | public class EnumerationValue { |
| 32 | 36 | |
| 33 | - @XmlValue | |
| 34 | - protected String value; | |
| 35 | - | |
| 36 | 37 | @XmlAttribute |
| 37 | 38 | protected Long colorIndex; |
| 38 | 39 | |
| 40 | + @XmlValue | |
| 41 | + protected String value; | |
| 42 | + | |
| 39 | 43 | /** |
| 40 | - * Gets the value of the value property. | |
| 44 | + * Gets the value of the colorIndex property. | |
| 45 | + * | |
| 46 | + * @return | |
| 47 | + * possible object is | |
| 48 | + * {@link Long } | |
| 41 | 49 | * |
| 42 | - * @return possible object is | |
| 43 | - * {@link String } | |
| 44 | 50 | */ |
| 45 | - public String getValue() | |
| 51 | + public Long getColorIndex() | |
| 46 | 52 | { |
| 47 | - return value; | |
| 53 | + return colorIndex; | |
| 48 | 54 | } |
| 49 | 55 | |
| 50 | 56 | /** |
| 51 | - * Sets the value of the value property. | |
| 57 | + * Sets the value of the colorIndex property. | |
| 58 | + * | |
| 59 | + * @param value | |
| 60 | + * allowed object is | |
| 61 | + * {@link Long } | |
| 52 | 62 | * |
| 53 | - * @param value allowed object is | |
| 54 | - * {@link String } | |
| 55 | 63 | */ |
| 56 | - public void setValue(String value) | |
| 64 | + public void setColorIndex(Long value) | |
| 57 | 65 | { |
| 58 | - this.value = value; | |
| 66 | + this.colorIndex = value; | |
| 59 | 67 | } |
| 60 | 68 | |
| 61 | 69 | /** |
| 62 | - * Gets the value of the colorIndex property. | |
| 70 | + * Gets the value of the value property. | |
| 71 | + * | |
| 72 | + * @return | |
| 73 | + * possible object is | |
| 74 | + * {@link String } | |
| 63 | 75 | * |
| 64 | - * @return possible object is | |
| 65 | - * {@link Long } | |
| 66 | 76 | */ |
| 67 | - public Long getColorIndex() | |
| 77 | + public String getValue() | |
| 68 | 78 | { |
| 69 | - return colorIndex; | |
| 79 | + return value; | |
| 70 | 80 | } |
| 71 | 81 | |
| 72 | 82 | /** |
| 73 | - * Sets the value of the colorIndex property. | |
| 83 | + * Sets the value of the value property. | |
| 84 | + * | |
| 85 | + * @param value | |
| 86 | + * allowed object is | |
| 87 | + * {@link String } | |
| 74 | 88 | * |
| 75 | - * @param value allowed object is | |
| 76 | - * {@link Long } | |
| 77 | 89 | */ |
| 78 | - public void setColorIndex(Long value) | |
| 90 | + public void setValue(String value) | |
| 79 | 91 | { |
| 80 | - this.colorIndex = value; | |
| 92 | + this.value = value; | |
| 81 | 93 | } |
| 82 | 94 | } | ... | ... |
| ... | ... | @@ -2,9 +2,13 @@ |
| 2 | 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 |
| 3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| 4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
| 5 | +// Generated on: 2015.12.18 at 12:37:27 PM CET | |
| 5 | 6 | // |
| 6 | 7 | package pl.itcrowd.youtrack.api.rest; |
| 7 | 8 | |
| 9 | +import java.io.Serializable; | |
| 10 | +import java.util.ArrayList; | |
| 11 | +import java.util.List; | |
| 8 | 12 | import javax.xml.bind.JAXBElement; |
| 9 | 13 | import javax.xml.bind.annotation.XmlAccessType; |
| 10 | 14 | import javax.xml.bind.annotation.XmlAccessorType; |
| ... | ... | @@ -12,15 +16,13 @@ import javax.xml.bind.annotation.XmlElementRef; |
| 12 | 16 | import javax.xml.bind.annotation.XmlElementRefs; |
| 13 | 17 | import javax.xml.bind.annotation.XmlMixed; |
| 14 | 18 | import javax.xml.bind.annotation.XmlType; |
| 15 | -import java.io.Serializable; | |
| 16 | -import java.util.ArrayList; | |
| 17 | -import java.util.List; | |
| 19 | + | |
| 18 | 20 | |
| 19 | 21 | /** |
| 20 | 22 | * <p>Java class for errorType complex type. |
| 21 | - * <p/> | |
| 23 | + * | |
| 22 | 24 | * <p>The following schema fragment specifies the expected content contained within this class. |
| 23 | - * <p/> | |
| 25 | + * | |
| 24 | 26 | * <pre> |
| 25 | 27 | * <complexType name="errorType"> |
| 26 | 28 | * <complexContent> |
| ... | ... | @@ -33,36 +35,40 @@ import java.util.List; |
| 33 | 35 | * </complexContent> |
| 34 | 36 | * </complexType> |
| 35 | 37 | * </pre> |
| 38 | + * | |
| 39 | + * | |
| 36 | 40 | */ |
| 37 | 41 | @XmlAccessorType(XmlAccessType.FIELD) |
| 38 | 42 | @XmlType(name = "errorType", propOrder = {"content"}) |
| 39 | 43 | public class ErrorType { |
| 40 | 44 | |
| 41 | - @XmlElementRefs({@XmlElementRef(name = "message", type = JAXBElement.class), @XmlElementRef(name = "field", type = JAXBElement.class)}) | |
| 45 | + @XmlElementRefs({@XmlElementRef(name = "field", type = JAXBElement.class), @XmlElementRef(name = "message", type = JAXBElement.class)}) | |
| 42 | 46 | @XmlMixed |
| 43 | 47 | protected List<Serializable> content; |
| 44 | 48 | |
| 45 | 49 | /** |
| 46 | 50 | * Gets the value of the content property. |
| 47 | - * <p/> | |
| 48 | - * <p/> | |
| 51 | + * | |
| 52 | + * <p> | |
| 49 | 53 | * This accessor method returns a reference to the live list, |
| 50 | 54 | * not a snapshot. Therefore any modification you make to the |
| 51 | 55 | * returned list will be present inside the JAXB object. |
| 52 | 56 | * This is why there is not a <CODE>set</CODE> method for the content property. |
| 53 | - * <p/> | |
| 54 | - * <p/> | |
| 57 | + * | |
| 58 | + * <p> | |
| 55 | 59 | * For example, to add a new item, do as follows: |
| 56 | 60 | * <pre> |
| 57 | 61 | * getContent().add(newItem); |
| 58 | 62 | * </pre> |
| 59 | - * <p/> | |
| 60 | - * <p/> | |
| 61 | - * <p/> | |
| 63 | + * | |
| 64 | + * | |
| 65 | + * <p> | |
| 62 | 66 | * Objects of the following type(s) are allowed in the list |
| 63 | 67 | * {@link JAXBElement }{@code <}{@link String }{@code >} |
| 64 | 68 | * {@link String } |
| 65 | 69 | * {@link JAXBElement }{@code <}{@link String }{@code >} |
| 70 | + * | |
| 71 | + * | |
| 66 | 72 | */ |
| 67 | 73 | public List<Serializable> getContent() |
| 68 | 74 | { | ... | ... |
| ... | ... | @@ -2,23 +2,25 @@ |
| 2 | 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 |
| 3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| 4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
| 5 | +// Generated on: 2015.12.18 at 12:37:27 PM CET | |
| 5 | 6 | // |
| 6 | 7 | package pl.itcrowd.youtrack.api.rest; |
| 7 | 8 | |
| 9 | +import java.util.ArrayList; | |
| 10 | +import java.util.List; | |
| 8 | 11 | import javax.xml.bind.annotation.XmlAccessType; |
| 9 | 12 | import javax.xml.bind.annotation.XmlAccessorType; |
| 10 | 13 | import javax.xml.bind.annotation.XmlAttribute; |
| 11 | 14 | import javax.xml.bind.annotation.XmlElement; |
| 12 | 15 | import javax.xml.bind.annotation.XmlType; |
| 13 | 16 | import javax.xml.bind.annotation.XmlValue; |
| 14 | -import java.util.ArrayList; | |
| 15 | -import java.util.List; | |
| 17 | + | |
| 16 | 18 | |
| 17 | 19 | /** |
| 18 | 20 | * <p>Java class for fieldType complex type. |
| 19 | - * <p/> | |
| 21 | + * | |
| 20 | 22 | * <p>The following schema fragment specifies the expected content contained within this class. |
| 21 | - * <p/> | |
| 23 | + * | |
| 22 | 24 | * <pre> |
| 23 | 25 | * <complexType name="fieldType"> |
| 24 | 26 | * <complexContent> |
| ... | ... | @@ -40,36 +42,64 @@ import java.util.List; |
| 40 | 42 | * </complexContent> |
| 41 | 43 | * </complexType> |
| 42 | 44 | * </pre> |
| 45 | + * | |
| 46 | + * | |
| 43 | 47 | */ |
| 44 | 48 | @XmlAccessorType(XmlAccessType.FIELD) |
| 45 | 49 | @XmlType(name = "fieldType", propOrder = {"values"}) |
| 46 | 50 | public class Field { |
| 47 | 51 | |
| 52 | + @XmlAttribute | |
| 53 | + protected String name; | |
| 54 | + | |
| 48 | 55 | @XmlElement(name = "value") |
| 49 | 56 | protected List<Field.Value> values; |
| 50 | 57 | |
| 51 | - @XmlAttribute | |
| 52 | - protected String name; | |
| 58 | + /** | |
| 59 | + * Gets the value of the name property. | |
| 60 | + * | |
| 61 | + * @return possible object is | |
| 62 | + * {@link String } | |
| 63 | + */ | |
| 64 | + public String getName() | |
| 65 | + { | |
| 66 | + return name; | |
| 67 | + } | |
| 68 | + | |
| 69 | + /** | |
| 70 | + * Sets the value of the name property. | |
| 71 | + * | |
| 72 | + * @param value | |
| 73 | + * allowed object is | |
| 74 | + * {@link String } | |
| 75 | + * | |
| 76 | + */ | |
| 77 | + public void setName(String value) | |
| 78 | + { | |
| 79 | + this.name = value; | |
| 80 | + } | |
| 53 | 81 | |
| 54 | 82 | /** |
| 55 | 83 | * Gets the value of the values property. |
| 56 | - * <p/> | |
| 57 | - * <p/> | |
| 84 | + * | |
| 85 | + * <p> | |
| 58 | 86 | * This accessor method returns a reference to the live list, |
| 59 | 87 | * not a snapshot. Therefore any modification you make to the |
| 60 | 88 | * returned list will be present inside the JAXB object. |
| 61 | 89 | * This is why there is not a <CODE>set</CODE> method for the values property. |
| 62 | - * <p/> | |
| 63 | - * <p/> | |
| 90 | + * | |
| 91 | + * <p> | |
| 64 | 92 | * For example, to add a new item, do as follows: |
| 65 | 93 | * <pre> |
| 66 | 94 | * getValues().add(newItem); |
| 67 | 95 | * </pre> |
| 68 | - * <p/> | |
| 69 | - * <p/> | |
| 70 | - * <p/> | |
| 96 | + * | |
| 97 | + * | |
| 98 | + * <p> | |
| 71 | 99 | * Objects of the following type(s) are allowed in the list |
| 72 | 100 | * {@link Field.Value } |
| 101 | + * | |
| 102 | + * | |
| 73 | 103 | */ |
| 74 | 104 | public List<Field.Value> getValues() |
| 75 | 105 | { |
| ... | ... | @@ -80,32 +110,10 @@ public class Field { |
| 80 | 110 | } |
| 81 | 111 | |
| 82 | 112 | /** |
| 83 | - * Gets the value of the name property. | |
| 84 | - * | |
| 85 | - * @return possible object is | |
| 86 | - * {@link String } | |
| 87 | - */ | |
| 88 | - public String getName() | |
| 89 | - { | |
| 90 | - return name; | |
| 91 | - } | |
| 92 | - | |
| 93 | - /** | |
| 94 | - * Sets the value of the name property. | |
| 95 | - * | |
| 96 | - * @param value allowed object is | |
| 97 | - * {@link String } | |
| 98 | - */ | |
| 99 | - public void setName(String value) | |
| 100 | - { | |
| 101 | - this.name = value; | |
| 102 | - } | |
| 103 | - | |
| 104 | - /** | |
| 105 | 113 | * <p>Java class for anonymous complex type. |
| 106 | - * <p/> | |
| 114 | + * | |
| 107 | 115 | * <p>The following schema fragment specifies the expected content contained within this class. |
| 108 | - * <p/> | |
| 116 | + * | |
| 109 | 117 | * <pre> |
| 110 | 118 | * <complexType> |
| 111 | 119 | * <complexContent> |
| ... | ... | @@ -116,6 +124,8 @@ public class Field { |
| 116 | 124 | * </complexContent> |
| 117 | 125 | * </complexType> |
| 118 | 126 | * </pre> |
| 127 | + * | |
| 128 | + * | |
| 119 | 129 | */ |
| 120 | 130 | @XmlAccessorType(XmlAccessType.FIELD) |
| 121 | 131 | @XmlType(name = "", propOrder = {"content"}) |
| ... | ... | @@ -125,16 +135,18 @@ public class Field { |
| 125 | 135 | protected String content; |
| 126 | 136 | |
| 127 | 137 | @XmlAttribute |
| 128 | - protected String type; | |
| 138 | + protected String role; | |
| 129 | 139 | |
| 130 | 140 | @XmlAttribute |
| 131 | - protected String role; | |
| 141 | + protected String type; | |
| 132 | 142 | |
| 133 | 143 | /** |
| 134 | 144 | * Gets the value of the content property. |
| 145 | + * | |
| 146 | + * @return | |
| 147 | + * possible object is | |
| 148 | + * {@link String } | |
| 135 | 149 | * |
| 136 | - * @return possible object is | |
| 137 | - * {@link String } | |
| 138 | 150 | */ |
| 139 | 151 | public String getContent() |
| 140 | 152 | { |
| ... | ... | @@ -143,9 +155,11 @@ public class Field { |
| 143 | 155 | |
| 144 | 156 | /** |
| 145 | 157 | * Sets the value of the content property. |
| 158 | + * | |
| 159 | + * @param value | |
| 160 | + * allowed object is | |
| 161 | + * {@link String } | |
| 146 | 162 | * |
| 147 | - * @param value allowed object is | |
| 148 | - * {@link String } | |
| 149 | 163 | */ |
| 150 | 164 | public void setContent(String value) |
| 151 | 165 | { |
| ... | ... | @@ -153,47 +167,55 @@ public class Field { |
| 153 | 167 | } |
| 154 | 168 | |
| 155 | 169 | /** |
| 156 | - * Gets the value of the type property. | |
| 170 | + * Gets the value of the role property. | |
| 171 | + * | |
| 172 | + * @return | |
| 173 | + * possible object is | |
| 174 | + * {@link String } | |
| 157 | 175 | * |
| 158 | - * @return possible object is | |
| 159 | - * {@link String } | |
| 160 | 176 | */ |
| 161 | - public String getType() | |
| 177 | + public String getRole() | |
| 162 | 178 | { |
| 163 | - return type; | |
| 179 | + return role; | |
| 164 | 180 | } |
| 165 | 181 | |
| 166 | 182 | /** |
| 167 | - * Sets the value of the type property. | |
| 183 | + * Sets the value of the role property. | |
| 184 | + * | |
| 185 | + * @param value | |
| 186 | + * allowed object is | |
| 187 | + * {@link String } | |
| 168 | 188 | * |
| 169 | - * @param value allowed object is | |
| 170 | - * {@link String } | |
| 171 | 189 | */ |
| 172 | - public void setType(String value) | |
| 190 | + public void setRole(String value) | |
| 173 | 191 | { |
| 174 | - this.type = value; | |
| 192 | + this.role = value; | |
| 175 | 193 | } |
| 176 | 194 | |
| 177 | 195 | /** |
| 178 | - * Gets the value of the role property. | |
| 196 | + * Gets the value of the type property. | |
| 197 | + * | |
| 198 | + * @return | |
| 199 | + * possible object is | |
| 200 | + * {@link String } | |
| 179 | 201 | * |
| 180 | - * @return possible object is | |
| 181 | - * {@link String } | |
| 182 | 202 | */ |
| 183 | - public String getRole() | |
| 203 | + public String getType() | |
| 184 | 204 | { |
| 185 | - return role; | |
| 205 | + return type; | |
| 186 | 206 | } |
| 187 | 207 | |
| 188 | 208 | /** |
| 189 | - * Sets the value of the role property. | |
| 209 | + * Sets the value of the type property. | |
| 210 | + * | |
| 211 | + * @param value | |
| 212 | + * allowed object is | |
| 213 | + * {@link String } | |
| 190 | 214 | * |
| 191 | - * @param value allowed object is | |
| 192 | - * {@link String } | |
| 193 | 215 | */ |
| 194 | - public void setRole(String value) | |
| 216 | + public void setType(String value) | |
| 195 | 217 | { |
| 196 | - this.role = value; | |
| 218 | + this.type = value; | |
| 197 | 219 | } |
| 198 | 220 | } |
| 199 | 221 | } | ... | ... |
| 1 | +// | |
| 2 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 | |
| 3 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | |
| 4 | +// Any modifications to this file will be lost upon recompilation of the source schema. | |
| 5 | +// Generated on: 2015.12.18 at 12:37:27 PM CET | |
| 6 | +// | |
| 7 | +package pl.itcrowd.youtrack.api.rest; | |
| 8 | + | |
| 9 | +import java.util.ArrayList; | |
| 10 | +import java.util.List; | |
| 11 | +import javax.xml.bind.annotation.XmlAccessType; | |
| 12 | +import javax.xml.bind.annotation.XmlAccessorType; | |
| 13 | +import javax.xml.bind.annotation.XmlElement; | |
| 14 | +import javax.xml.bind.annotation.XmlRootElement; | |
| 15 | +import javax.xml.bind.annotation.XmlType; | |
| 16 | + | |
| 17 | +/** | |
| 18 | + * <p>Java class for anonymous complex type. | |
| 19 | + * <p/> | |
| 20 | + * <p>The following schema fragment specifies the expected content contained within this class. | |
| 21 | + * <p/> | |
| 22 | + * <pre> | |
| 23 | + * <complexType> | |
| 24 | + * <complexContent> | |
| 25 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 26 | + * <sequence> | |
| 27 | + * <element name="suggest"> | |
| 28 | + * <complexType> | |
| 29 | + * <complexContent> | |
| 30 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 31 | + * <sequence> | |
| 32 | + * <element name="item" type="{}issueItem" maxOccurs="unbounded" minOccurs="0"/> | |
| 33 | + * </sequence> | |
| 34 | + * </restriction> | |
| 35 | + * </complexContent> | |
| 36 | + * </complexType> | |
| 37 | + * </element> | |
| 38 | + * </sequence> | |
| 39 | + * </restriction> | |
| 40 | + * </complexContent> | |
| 41 | + * </complexType> | |
| 42 | + * </pre> | |
| 43 | + */ | |
| 44 | +@XmlAccessorType(XmlAccessType.FIELD) | |
| 45 | +@XmlType(name = "", propOrder = {"suggest"}) | |
| 46 | +@XmlRootElement(name = "IntelliSense") | |
| 47 | +public class IntelliSense { | |
| 48 | + | |
| 49 | + @XmlElement(required = true) | |
| 50 | + protected IntelliSense.Suggest suggest; | |
| 51 | + | |
| 52 | + /** | |
| 53 | + * Gets the value of the suggest property. | |
| 54 | + * | |
| 55 | + * @return possible object is | |
| 56 | + * {@link IntelliSense.Suggest } | |
| 57 | + */ | |
| 58 | + public IntelliSense.Suggest getSuggest() | |
| 59 | + { | |
| 60 | + return suggest; | |
| 61 | + } | |
| 62 | + | |
| 63 | + /** | |
| 64 | + * Sets the value of the suggest property. | |
| 65 | + * | |
| 66 | + * @param value allowed object is | |
| 67 | + * {@link IntelliSense.Suggest } | |
| 68 | + */ | |
| 69 | + public void setSuggest(IntelliSense.Suggest value) | |
| 70 | + { | |
| 71 | + this.suggest = value; | |
| 72 | + } | |
| 73 | + | |
| 74 | + /** | |
| 75 | + * <p>Java class for anonymous complex type. | |
| 76 | + * <p/> | |
| 77 | + * <p>The following schema fragment specifies the expected content contained within this class. | |
| 78 | + * <p/> | |
| 79 | + * <pre> | |
| 80 | + * <complexType> | |
| 81 | + * <complexContent> | |
| 82 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 83 | + * <sequence> | |
| 84 | + * <element name="item" type="{}issueItem" maxOccurs="unbounded" minOccurs="0"/> | |
| 85 | + * </sequence> | |
| 86 | + * </restriction> | |
| 87 | + * </complexContent> | |
| 88 | + * </complexType> | |
| 89 | + * </pre> | |
| 90 | + */ | |
| 91 | + @XmlAccessorType(XmlAccessType.FIELD) | |
| 92 | + @XmlType(name = "", propOrder = {"items"}) | |
| 93 | + public static class Suggest { | |
| 94 | + | |
| 95 | + @XmlElement(name = "item") | |
| 96 | + protected List<IssueItem> items; | |
| 97 | + | |
| 98 | + /** | |
| 99 | + * Gets the value of the items property. | |
| 100 | + * <p/> | |
| 101 | + * <p/> | |
| 102 | + * This accessor method returns a reference to the live list, | |
| 103 | + * not a snapshot. Therefore any modification you make to the | |
| 104 | + * returned list will be present inside the JAXB object. | |
| 105 | + * This is why there is not a <CODE>set</CODE> method for the items property. | |
| 106 | + * <p/> | |
| 107 | + * <p/> | |
| 108 | + * For example, to add a new item, do as follows: | |
| 109 | + * <pre> | |
| 110 | + * getItems().add(newItem); | |
| 111 | + * </pre> | |
| 112 | + * <p/> | |
| 113 | + * <p/> | |
| 114 | + * <p/> | |
| 115 | + * Objects of the following type(s) are allowed in the list | |
| 116 | + * {@link IssueItem } | |
| 117 | + */ | |
| 118 | + public List<IssueItem> getItems() | |
| 119 | + { | |
| 120 | + if (items == null) { | |
| 121 | + items = new ArrayList<IssueItem>(); | |
| 122 | + } | |
| 123 | + return this.items; | |
| 124 | + } | |
| 125 | + } | |
| 126 | +} | ... | ... |
| ... | ... | @@ -2,23 +2,25 @@ |
| 2 | 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 |
| 3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| 4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
| 5 | +// Generated on: 2015.12.18 at 12:37:27 PM CET | |
| 5 | 6 | // |
| 6 | 7 | package pl.itcrowd.youtrack.api.rest; |
| 7 | 8 | |
| 9 | +import java.util.ArrayList; | |
| 10 | +import java.util.List; | |
| 8 | 11 | import javax.xml.bind.annotation.XmlAccessType; |
| 9 | 12 | import javax.xml.bind.annotation.XmlAccessorType; |
| 10 | 13 | import javax.xml.bind.annotation.XmlAttribute; |
| 11 | 14 | import javax.xml.bind.annotation.XmlElement; |
| 12 | 15 | import javax.xml.bind.annotation.XmlElements; |
| 13 | 16 | import javax.xml.bind.annotation.XmlType; |
| 14 | -import java.util.ArrayList; | |
| 15 | -import java.util.List; | |
| 17 | + | |
| 16 | 18 | |
| 17 | 19 | /** |
| 18 | 20 | * <p>Java class for issueType complex type. |
| 19 | - * <p/> | |
| 21 | + * | |
| 20 | 22 | * <p>The following schema fragment specifies the expected content contained within this class. |
| 21 | - * <p/> | |
| 23 | + * | |
| 22 | 24 | * <pre> |
| 23 | 25 | * <complexType name="issueType"> |
| 24 | 26 | * <complexContent> |
| ... | ... | @@ -32,6 +34,8 @@ import java.util.List; |
| 32 | 34 | * </complexContent> |
| 33 | 35 | * </complexType> |
| 34 | 36 | * </pre> |
| 37 | + * | |
| 38 | + * | |
| 35 | 39 | */ |
| 36 | 40 | @XmlAccessorType(XmlAccessType.FIELD) |
| 37 | 41 | @XmlType(name = "issueType", propOrder = {"fieldOrComment"}) |
| ... | ... | @@ -39,30 +43,31 @@ public class Issue { |
| 39 | 43 | |
| 40 | 44 | @XmlElements({@XmlElement(name = "field", type = Field.class), @XmlElement(name = "comment", type = Comment.class)}) |
| 41 | 45 | protected List<Object> fieldOrComment; |
| 42 | - | |
| 43 | 46 | @XmlAttribute |
| 44 | 47 | protected String id; |
| 45 | 48 | |
| 46 | 49 | /** |
| 47 | 50 | * Gets the value of the fieldOrComment property. |
| 48 | - * <p/> | |
| 49 | - * <p/> | |
| 51 | + * | |
| 52 | + * <p> | |
| 50 | 53 | * This accessor method returns a reference to the live list, |
| 51 | 54 | * not a snapshot. Therefore any modification you make to the |
| 52 | 55 | * returned list will be present inside the JAXB object. |
| 53 | 56 | * This is why there is not a <CODE>set</CODE> method for the fieldOrComment property. |
| 54 | - * <p/> | |
| 55 | - * <p/> | |
| 57 | + * | |
| 58 | + * <p> | |
| 56 | 59 | * For example, to add a new item, do as follows: |
| 57 | 60 | * <pre> |
| 58 | 61 | * getFieldOrComment().add(newItem); |
| 59 | 62 | * </pre> |
| 60 | - * <p/> | |
| 61 | - * <p/> | |
| 62 | - * <p/> | |
| 63 | + * | |
| 64 | + * | |
| 65 | + * <p> | |
| 63 | 66 | * Objects of the following type(s) are allowed in the list |
| 64 | 67 | * {@link Field } |
| 65 | 68 | * {@link Comment } |
| 69 | + * | |
| 70 | + * | |
| 66 | 71 | */ |
| 67 | 72 | public List<Object> getFieldOrComment() |
| 68 | 73 | { |
| ... | ... | @@ -75,8 +80,10 @@ public class Issue { |
| 75 | 80 | /** |
| 76 | 81 | * Gets the value of the id property. |
| 77 | 82 | * |
| 78 | - * @return possible object is | |
| 79 | - * {@link String } | |
| 83 | + * @return | |
| 84 | + * possible object is | |
| 85 | + * {@link String } | |
| 86 | + * | |
| 80 | 87 | */ |
| 81 | 88 | public String getId() |
| 82 | 89 | { |
| ... | ... | @@ -86,8 +93,10 @@ public class Issue { |
| 86 | 93 | /** |
| 87 | 94 | * Sets the value of the id property. |
| 88 | 95 | * |
| 89 | - * @param value allowed object is | |
| 90 | - * {@link String } | |
| 96 | + * @param value | |
| 97 | + * allowed object is | |
| 98 | + * {@link String } | |
| 99 | + * | |
| 91 | 100 | */ |
| 92 | 101 | public void setId(String value) |
| 93 | 102 | { | ... | ... |
| ... | ... | @@ -2,22 +2,24 @@ |
| 2 | 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 |
| 3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| 4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
| 5 | +// Generated on: 2015.12.18 at 12:37:27 PM CET | |
| 5 | 6 | // |
| 6 | 7 | package pl.itcrowd.youtrack.api.rest; |
| 7 | 8 | |
| 9 | +import java.util.ArrayList; | |
| 10 | +import java.util.List; | |
| 8 | 11 | import javax.xml.bind.annotation.XmlAccessType; |
| 9 | 12 | import javax.xml.bind.annotation.XmlAccessorType; |
| 10 | 13 | import javax.xml.bind.annotation.XmlElement; |
| 11 | 14 | import javax.xml.bind.annotation.XmlRootElement; |
| 12 | 15 | import javax.xml.bind.annotation.XmlType; |
| 13 | -import java.util.ArrayList; | |
| 14 | -import java.util.List; | |
| 16 | + | |
| 15 | 17 | |
| 16 | 18 | /** |
| 17 | 19 | * <p>Java class for anonymous complex type. |
| 18 | - * <p/> | |
| 20 | + * | |
| 19 | 21 | * <p>The following schema fragment specifies the expected content contained within this class. |
| 20 | - * <p/> | |
| 22 | + * | |
| 21 | 23 | * <pre> |
| 22 | 24 | * <complexType> |
| 23 | 25 | * <complexContent> |
| ... | ... | @@ -29,6 +31,8 @@ import java.util.List; |
| 29 | 31 | * </complexContent> |
| 30 | 32 | * </complexType> |
| 31 | 33 | * </pre> |
| 34 | + * | |
| 35 | + * | |
| 32 | 36 | */ |
| 33 | 37 | @XmlAccessorType(XmlAccessType.FIELD) |
| 34 | 38 | @XmlType(name = "", propOrder = {"issues"}) |
| ... | ... | @@ -40,23 +44,25 @@ public class IssueCompacts { |
| 40 | 44 | |
| 41 | 45 | /** |
| 42 | 46 | * Gets the value of the issues property. |
| 43 | - * <p/> | |
| 44 | - * <p/> | |
| 47 | + * | |
| 48 | + * <p> | |
| 45 | 49 | * This accessor method returns a reference to the live list, |
| 46 | 50 | * not a snapshot. Therefore any modification you make to the |
| 47 | 51 | * returned list will be present inside the JAXB object. |
| 48 | 52 | * This is why there is not a <CODE>set</CODE> method for the issues property. |
| 49 | - * <p/> | |
| 50 | - * <p/> | |
| 53 | + * | |
| 54 | + * <p> | |
| 51 | 55 | * For example, to add a new item, do as follows: |
| 52 | 56 | * <pre> |
| 53 | 57 | * getIssues().add(newItem); |
| 54 | 58 | * </pre> |
| 55 | - * <p/> | |
| 56 | - * <p/> | |
| 57 | - * <p/> | |
| 59 | + * | |
| 60 | + * | |
| 61 | + * <p> | |
| 58 | 62 | * Objects of the following type(s) are allowed in the list |
| 59 | 63 | * {@link Issue } |
| 64 | + * | |
| 65 | + * | |
| 60 | 66 | */ |
| 61 | 67 | public List<Issue> getIssues() |
| 62 | 68 | { | ... | ... |
| 1 | +// | |
| 2 | +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 | |
| 3 | +// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | |
| 4 | +// Any modifications to this file will be lost upon recompilation of the source schema. | |
| 5 | +// Generated on: 2015.12.18 at 12:37:27 PM CET | |
| 6 | +// | |
| 7 | +package pl.itcrowd.youtrack.api.rest; | |
| 8 | + | |
| 9 | +import javax.xml.bind.annotation.XmlAccessType; | |
| 10 | +import javax.xml.bind.annotation.XmlAccessorType; | |
| 11 | +import javax.xml.bind.annotation.XmlElement; | |
| 12 | +import javax.xml.bind.annotation.XmlType; | |
| 13 | + | |
| 14 | +/** | |
| 15 | + * <p>Java class for issueItem complex type. | |
| 16 | + * <p/> | |
| 17 | + * <p>The following schema fragment specifies the expected content contained within this class. | |
| 18 | + * <p/> | |
| 19 | + * <pre> | |
| 20 | + * <complexType name="issueItem"> | |
| 21 | + * <complexContent> | |
| 22 | + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 23 | + * <sequence> | |
| 24 | + * <element name="option" type="{http://www.w3.org/2001/XMLSchema}string"/> | |
| 25 | + * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/> | |
| 26 | + * </sequence> | |
| 27 | + * </restriction> | |
| 28 | + * </complexContent> | |
| 29 | + * </complexType> | |
| 30 | + * </pre> | |
| 31 | + */ | |
| 32 | +@XmlAccessorType(XmlAccessType.FIELD) | |
| 33 | +@XmlType(name = "issueItem", propOrder = {"option", "description"}) | |
| 34 | +public class IssueItem { | |
| 35 | + | |
| 36 | + @XmlElement(required = true) | |
| 37 | + protected String description; | |
| 38 | + | |
| 39 | + @XmlElement(required = true) | |
| 40 | + protected String option; | |
| 41 | + | |
| 42 | + /** | |
| 43 | + * Gets the value of the description property. | |
| 44 | + * | |
| 45 | + * @return possible object is | |
| 46 | + * {@link String } | |
| 47 | + */ | |
| 48 | + public String getDescription() | |
| 49 | + { | |
| 50 | + return description; | |
| 51 | + } | |
| 52 | + | |
| 53 | + /** | |
| 54 | + * Sets the value of the description property. | |
| 55 | + * | |
| 56 | + * @param value allowed object is | |
| 57 | + * {@link String } | |
| 58 | + */ | |
| 59 | + public void setDescription(String value) | |
| 60 | + { | |
| 61 | + this.description = value; | |
| 62 | + } | |
| 63 | + | |
| 64 | + /** | |
| 65 | + * Gets the value of the option property. | |
| 66 | + * | |
| 67 | + * @return possible object is | |
| 68 | + * {@link String } | |
| 69 | + */ | |
| 70 | + public String getOption() | |
| 71 | + { | |
| 72 | + return option; | |
| 73 | + } | |
| 74 | + | |
| 75 | + /** | |
| 76 | + * Sets the value of the option property. | |
| 77 | + * | |
| 78 | + * @param value allowed object is | |
| 79 | + * {@link String } | |
| 80 | + */ | |
| 81 | + public void setOption(String value) | |
| 82 | + { | |
| 83 | + this.option = value; | |
| 84 | + } | |
| 85 | +} | ... | ... |
| ... | ... | @@ -2,22 +2,24 @@ |
| 2 | 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 |
| 3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| 4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
| 5 | +// Generated on: 2015.12.18 at 12:37:27 PM CET | |
| 5 | 6 | // |
| 6 | 7 | package pl.itcrowd.youtrack.api.rest; |
| 7 | 8 | |
| 9 | +import java.util.ArrayList; | |
| 10 | +import java.util.List; | |
| 8 | 11 | import javax.xml.bind.annotation.XmlAccessType; |
| 9 | 12 | import javax.xml.bind.annotation.XmlAccessorType; |
| 10 | 13 | import javax.xml.bind.annotation.XmlElement; |
| 11 | 14 | import javax.xml.bind.annotation.XmlRootElement; |
| 12 | 15 | import javax.xml.bind.annotation.XmlType; |
| 13 | -import java.util.ArrayList; | |
| 14 | -import java.util.List; | |
| 16 | + | |
| 15 | 17 | |
| 16 | 18 | /** |
| 17 | 19 | * <p>Java class for anonymous complex type. |
| 18 | - * <p/> | |
| 20 | + * | |
| 19 | 21 | * <p>The following schema fragment specifies the expected content contained within this class. |
| 20 | - * <p/> | |
| 22 | + * | |
| 21 | 23 | * <pre> |
| 22 | 24 | * <complexType> |
| 23 | 25 | * <complexContent> |
| ... | ... | @@ -29,6 +31,8 @@ import java.util.List; |
| 29 | 31 | * </complexContent> |
| 30 | 32 | * </complexType> |
| 31 | 33 | * </pre> |
| 34 | + * | |
| 35 | + * | |
| 32 | 36 | */ |
| 33 | 37 | @XmlAccessorType(XmlAccessType.FIELD) |
| 34 | 38 | @XmlType(name = "", propOrder = {"issues"}) |
| ... | ... | @@ -40,23 +44,25 @@ public class Issues { |
| 40 | 44 | |
| 41 | 45 | /** |
| 42 | 46 | * Gets the value of the issues property. |
| 43 | - * <p/> | |
| 44 | - * <p/> | |
| 47 | + * | |
| 48 | + * <p> | |
| 45 | 49 | * This accessor method returns a reference to the live list, |
| 46 | 50 | * not a snapshot. Therefore any modification you make to the |
| 47 | 51 | * returned list will be present inside the JAXB object. |
| 48 | 52 | * This is why there is not a <CODE>set</CODE> method for the issues property. |
| 49 | - * <p/> | |
| 50 | - * <p/> | |
| 53 | + * | |
| 54 | + * <p> | |
| 51 | 55 | * For example, to add a new item, do as follows: |
| 52 | 56 | * <pre> |
| 53 | 57 | * getIssues().add(newItem); |
| 54 | 58 | * </pre> |
| 55 | - * <p/> | |
| 56 | - * <p/> | |
| 57 | - * <p/> | |
| 59 | + * | |
| 60 | + * | |
| 61 | + * <p> | |
| 58 | 62 | * Objects of the following type(s) are allowed in the list |
| 59 | 63 | * {@link Issue } |
| 64 | + * | |
| 65 | + * | |
| 60 | 66 | */ |
| 61 | 67 | public List<Issue> getIssues() |
| 62 | 68 | { | ... | ... |
| ... | ... | @@ -2,6 +2,7 @@ |
| 2 | 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 |
| 3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| 4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
| 5 | +// Generated on: 2015.12.18 at 12:37:27 PM CET | |
| 5 | 6 | // |
| 6 | 7 | package pl.itcrowd.youtrack.api.rest; |
| 7 | 8 | |
| ... | ... | @@ -10,18 +11,20 @@ import javax.xml.bind.annotation.XmlElementDecl; |
| 10 | 11 | import javax.xml.bind.annotation.XmlRegistry; |
| 11 | 12 | import javax.xml.namespace.QName; |
| 12 | 13 | |
| 14 | + | |
| 13 | 15 | /** |
| 14 | - * This object contains factory methods for each | |
| 15 | - * Java content interface and Java element interface | |
| 16 | - * generated in the pl.itcrowd.youtrack.api.rest package. | |
| 17 | - * <p>An ObjectFactory allows you to programatically | |
| 18 | - * construct new instances of the Java representation | |
| 19 | - * for XML content. The Java representation of XML | |
| 20 | - * content can consist of schema derived interfaces | |
| 21 | - * and classes representing the binding of schema | |
| 22 | - * type definitions, element declarations and model | |
| 23 | - * groups. Factory methods for each of these are | |
| 16 | + * This object contains factory methods for each | |
| 17 | + * Java content interface and Java element interface | |
| 18 | + * generated in the pl.itcrowd.youtrack.api.rest package. | |
| 19 | + * <p>An ObjectFactory allows you to programatically | |
| 20 | + * construct new instances of the Java representation | |
| 21 | + * for XML content. The Java representation of XML | |
| 22 | + * content can consist of schema derived interfaces | |
| 23 | + * and classes representing the binding of schema | |
| 24 | + * type definitions, element declarations and model | |
| 25 | + * groups. Factory methods for each of these are | |
| 24 | 26 | * provided in this class. |
| 27 | + * | |
| 25 | 28 | */ |
| 26 | 29 | @XmlRegistry |
| 27 | 30 | public class ObjectFactory { |
| ... | ... | @@ -44,6 +47,7 @@ public class ObjectFactory { |
| 44 | 47 | |
| 45 | 48 | /** |
| 46 | 49 | * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: pl.itcrowd.youtrack.api.rest |
| 50 | + * | |
| 47 | 51 | */ |
| 48 | 52 | public ObjectFactory() |
| 49 | 53 | { |
| ... | ... | @@ -51,6 +55,7 @@ public class ObjectFactory { |
| 51 | 55 | |
| 52 | 56 | /** |
| 53 | 57 | * Create an instance of {@link AssignedByType } |
| 58 | + * | |
| 54 | 59 | */ |
| 55 | 60 | public AssignedByType createAssignedByType() |
| 56 | 61 | { |
| ... | ... | @@ -59,6 +64,7 @@ public class ObjectFactory { |
| 59 | 64 | |
| 60 | 65 | /** |
| 61 | 66 | * Create an instance of {@link AssigneeList } |
| 67 | + * | |
| 62 | 68 | */ |
| 63 | 69 | public AssigneeList createAssigneeList() |
| 64 | 70 | { |
| ... | ... | @@ -67,6 +73,7 @@ public class ObjectFactory { |
| 67 | 73 | |
| 68 | 74 | /** |
| 69 | 75 | * Create an instance of {@link AssigneeList.Assignees } |
| 76 | + * | |
| 70 | 77 | */ |
| 71 | 78 | public AssigneeList.Assignees createAssigneeListAssignees() |
| 72 | 79 | { |
| ... | ... | @@ -75,6 +82,7 @@ public class ObjectFactory { |
| 75 | 82 | |
| 76 | 83 | /** |
| 77 | 84 | * Create an instance of {@link AssigneeType } |
| 85 | + * | |
| 78 | 86 | */ |
| 79 | 87 | public AssigneeType createAssigneeType() |
| 80 | 88 | { |
| ... | ... | @@ -83,6 +91,7 @@ public class ObjectFactory { |
| 83 | 91 | |
| 84 | 92 | /** |
| 85 | 93 | * Create an instance of {@link Comment } |
| 94 | + * | |
| 86 | 95 | */ |
| 87 | 96 | public Comment createComment() |
| 88 | 97 | { |
| ... | ... | @@ -91,6 +100,7 @@ public class ObjectFactory { |
| 91 | 100 | |
| 92 | 101 | /** |
| 93 | 102 | * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} |
| 103 | + * | |
| 94 | 104 | */ |
| 95 | 105 | @XmlElementDecl(namespace = "", name = "replies", scope = Comment.class) |
| 96 | 106 | public JAXBElement<String> createCommentReplies(String value) |
| ... | ... | @@ -100,6 +110,7 @@ public class ObjectFactory { |
| 100 | 110 | |
| 101 | 111 | /** |
| 102 | 112 | * Create an instance of {@link Comment.Value } |
| 113 | + * | |
| 103 | 114 | */ |
| 104 | 115 | public Comment.Value createCommentValue() |
| 105 | 116 | { |
| ... | ... | @@ -108,6 +119,7 @@ public class ObjectFactory { |
| 108 | 119 | |
| 109 | 120 | /** |
| 110 | 121 | * Create an instance of {@link JAXBElement }{@code <}{@link Comment.Value }{@code >}} |
| 122 | + * | |
| 111 | 123 | */ |
| 112 | 124 | @XmlElementDecl(namespace = "", name = "value", scope = Comment.class) |
| 113 | 125 | public JAXBElement<Comment.Value> createCommentValue(Comment.Value value) |
| ... | ... | @@ -117,6 +129,7 @@ public class ObjectFactory { |
| 117 | 129 | |
| 118 | 130 | /** |
| 119 | 131 | * Create an instance of {@link Enumeration } |
| 132 | + * | |
| 120 | 133 | */ |
| 121 | 134 | public Enumeration createEnumeration() |
| 122 | 135 | { |
| ... | ... | @@ -125,6 +138,7 @@ public class ObjectFactory { |
| 125 | 138 | |
| 126 | 139 | /** |
| 127 | 140 | * Create an instance of {@link JAXBElement }{@code <}{@link Enumeration }{@code >}} |
| 141 | + * | |
| 128 | 142 | */ |
| 129 | 143 | @XmlElementDecl(namespace = "", name = "enumeration") |
| 130 | 144 | public JAXBElement<Enumeration> createEnumeration(Enumeration value) |
| ... | ... | @@ -134,6 +148,7 @@ public class ObjectFactory { |
| 134 | 148 | |
| 135 | 149 | /** |
| 136 | 150 | * Create an instance of {@link EnumerationValue } |
| 151 | + * | |
| 137 | 152 | */ |
| 138 | 153 | public EnumerationValue createEnumerationValue() |
| 139 | 154 | { |
| ... | ... | @@ -142,6 +157,7 @@ public class ObjectFactory { |
| 142 | 157 | |
| 143 | 158 | /** |
| 144 | 159 | * Create an instance of {@link JAXBElement }{@code <}{@link ErrorType }{@code >}} |
| 160 | + * | |
| 145 | 161 | */ |
| 146 | 162 | @XmlElementDecl(namespace = "", name = "error") |
| 147 | 163 | public JAXBElement<ErrorType> createError(ErrorType value) |
| ... | ... | @@ -151,6 +167,7 @@ public class ObjectFactory { |
| 151 | 167 | |
| 152 | 168 | /** |
| 153 | 169 | * Create an instance of {@link ErrorType } |
| 170 | + * | |
| 154 | 171 | */ |
| 155 | 172 | public ErrorType createErrorType() |
| 156 | 173 | { |
| ... | ... | @@ -159,6 +176,7 @@ public class ObjectFactory { |
| 159 | 176 | |
| 160 | 177 | /** |
| 161 | 178 | * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} |
| 179 | + * | |
| 162 | 180 | */ |
| 163 | 181 | @XmlElementDecl(namespace = "", name = "field", scope = ErrorType.class) |
| 164 | 182 | public JAXBElement<String> createErrorTypeField(String value) |
| ... | ... | @@ -168,6 +186,7 @@ public class ObjectFactory { |
| 168 | 186 | |
| 169 | 187 | /** |
| 170 | 188 | * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} |
| 189 | + * | |
| 171 | 190 | */ |
| 172 | 191 | @XmlElementDecl(namespace = "", name = "message", scope = ErrorType.class) |
| 173 | 192 | public JAXBElement<String> createErrorTypeMessage(String value) |
| ... | ... | @@ -177,6 +196,7 @@ public class ObjectFactory { |
| 177 | 196 | |
| 178 | 197 | /** |
| 179 | 198 | * Create an instance of {@link Field } |
| 199 | + * | |
| 180 | 200 | */ |
| 181 | 201 | public Field createField() |
| 182 | 202 | { |
| ... | ... | @@ -185,6 +205,7 @@ public class ObjectFactory { |
| 185 | 205 | |
| 186 | 206 | /** |
| 187 | 207 | * Create an instance of {@link Field.Value } |
| 208 | + * | |
| 188 | 209 | */ |
| 189 | 210 | public Field.Value createFieldValue() |
| 190 | 211 | { |
| ... | ... | @@ -193,6 +214,7 @@ public class ObjectFactory { |
| 193 | 214 | |
| 194 | 215 | /** |
| 195 | 216 | * Create an instance of {@link JAXBElement }{@code <}{@link Short }{@code >}} |
| 217 | + * | |
| 196 | 218 | */ |
| 197 | 219 | @XmlElementDecl(namespace = "", name = "int") |
| 198 | 220 | public JAXBElement<Short> createInt(Short value) |
| ... | ... | @@ -201,7 +223,25 @@ public class ObjectFactory { |
| 201 | 223 | } |
| 202 | 224 | |
| 203 | 225 | /** |
| 226 | + * Create an instance of {@link IntelliSense } | |
| 227 | + * | |
| 228 | + */ | |
| 229 | + public IntelliSense createIntelliSense() | |
| 230 | + { | |
| 231 | + return new IntelliSense(); | |
| 232 | + } | |
| 233 | + | |
| 234 | + /** | |
| 235 | + * Create an instance of {@link IntelliSense.Suggest } | |
| 236 | + */ | |
| 237 | + public IntelliSense.Suggest createIntelliSenseSuggest() | |
| 238 | + { | |
| 239 | + return new IntelliSense.Suggest(); | |
| 240 | + } | |
| 241 | + | |
| 242 | + /** | |
| 204 | 243 | * Create an instance of {@link Issue } |
| 244 | + * | |
| 205 | 245 | */ |
| 206 | 246 | public Issue createIssue() |
| 207 | 247 | { |
| ... | ... | @@ -210,6 +250,7 @@ public class ObjectFactory { |
| 210 | 250 | |
| 211 | 251 | /** |
| 212 | 252 | * Create an instance of {@link JAXBElement }{@code <}{@link Issue }{@code >}} |
| 253 | + * | |
| 213 | 254 | */ |
| 214 | 255 | @XmlElementDecl(namespace = "", name = "issue") |
| 215 | 256 | public JAXBElement<Issue> createIssue(Issue value) |
| ... | ... | @@ -219,6 +260,7 @@ public class ObjectFactory { |
| 219 | 260 | |
| 220 | 261 | /** |
| 221 | 262 | * Create an instance of {@link IssueCompacts } |
| 263 | + * | |
| 222 | 264 | */ |
| 223 | 265 | public IssueCompacts createIssueCompacts() |
| 224 | 266 | { |
| ... | ... | @@ -226,7 +268,17 @@ public class ObjectFactory { |
| 226 | 268 | } |
| 227 | 269 | |
| 228 | 270 | /** |
| 271 | + * Create an instance of {@link IssueItem } | |
| 272 | + * | |
| 273 | + */ | |
| 274 | + public IssueItem createIssueItem() | |
| 275 | + { | |
| 276 | + return new IssueItem(); | |
| 277 | + } | |
| 278 | + | |
| 279 | + /** | |
| 229 | 280 | * Create an instance of {@link Issues } |
| 281 | + * | |
| 230 | 282 | */ |
| 231 | 283 | public Issues createIssues() |
| 232 | 284 | { |
| ... | ... | @@ -235,6 +287,7 @@ public class ObjectFactory { |
| 235 | 287 | |
| 236 | 288 | /** |
| 237 | 289 | * Create an instance of {@link User } |
| 290 | + * | |
| 238 | 291 | */ |
| 239 | 292 | public User createUser() |
| 240 | 293 | { |
| ... | ... | @@ -243,6 +296,7 @@ public class ObjectFactory { |
| 243 | 296 | |
| 244 | 297 | /** |
| 245 | 298 | * Create an instance of {@link UserGroupRefType } |
| 299 | + * | |
| 246 | 300 | */ |
| 247 | 301 | public UserGroupRefType createUserGroupRefType() |
| 248 | 302 | { |
| ... | ... | @@ -251,9 +305,11 @@ public class ObjectFactory { |
| 251 | 305 | |
| 252 | 306 | /** |
| 253 | 307 | * Create an instance of {@link UserRefs } |
| 308 | + * | |
| 254 | 309 | */ |
| 255 | 310 | public UserRefs createUserRefs() |
| 256 | 311 | { |
| 257 | 312 | return new UserRefs(); |
| 258 | 313 | } |
| 314 | + | |
| 259 | 315 | } | ... | ... |
| ... | ... | @@ -2,6 +2,7 @@ |
| 2 | 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 |
| 3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| 4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
| 5 | +// Generated on: 2015.12.18 at 12:37:27 PM CET | |
| 5 | 6 | // |
| 6 | 7 | package pl.itcrowd.youtrack.api.rest; |
| 7 | 8 | |
| ... | ... | @@ -11,11 +12,12 @@ import javax.xml.bind.annotation.XmlAttribute; |
| 11 | 12 | import javax.xml.bind.annotation.XmlSchemaType; |
| 12 | 13 | import javax.xml.bind.annotation.XmlType; |
| 13 | 14 | |
| 15 | + | |
| 14 | 16 | /** |
| 15 | 17 | * <p>Java class for userType complex type. |
| 16 | - * <p/> | |
| 18 | + * | |
| 17 | 19 | * <p>The following schema fragment specifies the expected content contained within this class. |
| 18 | - * <p/> | |
| 20 | + * | |
| 19 | 21 | * <pre> |
| 20 | 22 | * <complexType name="userType"> |
| 21 | 23 | * <complexContent> |
| ... | ... | @@ -26,6 +28,8 @@ import javax.xml.bind.annotation.XmlType; |
| 26 | 28 | * </complexContent> |
| 27 | 29 | * </complexType> |
| 28 | 30 | * </pre> |
| 31 | + * | |
| 32 | + * | |
| 29 | 33 | */ |
| 30 | 34 | @XmlAccessorType(XmlAccessType.FIELD) |
| 31 | 35 | @XmlType(name = "userType") |
| ... | ... | @@ -33,7 +37,6 @@ public class User { |
| 33 | 37 | |
| 34 | 38 | @XmlAttribute(required = true) |
| 35 | 39 | protected String login; |
| 36 | - | |
| 37 | 40 | @XmlAttribute |
| 38 | 41 | @XmlSchemaType(name = "anyURI") |
| 39 | 42 | protected String url; |
| ... | ... | @@ -41,8 +44,10 @@ public class User { |
| 41 | 44 | /** |
| 42 | 45 | * Gets the value of the login property. |
| 43 | 46 | * |
| 44 | - * @return possible object is | |
| 45 | - * {@link String } | |
| 47 | + * @return | |
| 48 | + * possible object is | |
| 49 | + * {@link String } | |
| 50 | + * | |
| 46 | 51 | */ |
| 47 | 52 | public String getLogin() |
| 48 | 53 | { |
| ... | ... | @@ -52,8 +57,10 @@ public class User { |
| 52 | 57 | /** |
| 53 | 58 | * Sets the value of the login property. |
| 54 | 59 | * |
| 55 | - * @param value allowed object is | |
| 56 | - * {@link String } | |
| 60 | + * @param value | |
| 61 | + * allowed object is | |
| 62 | + * {@link String } | |
| 63 | + * | |
| 57 | 64 | */ |
| 58 | 65 | public void setLogin(String value) |
| 59 | 66 | { |
| ... | ... | @@ -63,8 +70,10 @@ public class User { |
| 63 | 70 | /** |
| 64 | 71 | * Gets the value of the url property. |
| 65 | 72 | * |
| 66 | - * @return possible object is | |
| 67 | - * {@link String } | |
| 73 | + * @return | |
| 74 | + * possible object is | |
| 75 | + * {@link String } | |
| 76 | + * | |
| 68 | 77 | */ |
| 69 | 78 | public String getUrl() |
| 70 | 79 | { |
| ... | ... | @@ -74,8 +83,10 @@ public class User { |
| 74 | 83 | /** |
| 75 | 84 | * Sets the value of the url property. |
| 76 | 85 | * |
| 77 | - * @param value allowed object is | |
| 78 | - * {@link String } | |
| 86 | + * @param value | |
| 87 | + * allowed object is | |
| 88 | + * {@link String } | |
| 89 | + * | |
| 79 | 90 | */ |
| 80 | 91 | public void setUrl(String value) |
| 81 | 92 | { | ... | ... |
| ... | ... | @@ -2,6 +2,7 @@ |
| 2 | 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 |
| 3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| 4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
| 5 | +// Generated on: 2015.12.18 at 12:37:27 PM CET | |
| 5 | 6 | // |
| 6 | 7 | package pl.itcrowd.youtrack.api.rest; |
| 7 | 8 | |
| ... | ... | @@ -11,11 +12,12 @@ import javax.xml.bind.annotation.XmlAttribute; |
| 11 | 12 | import javax.xml.bind.annotation.XmlType; |
| 12 | 13 | import javax.xml.bind.annotation.XmlValue; |
| 13 | 14 | |
| 15 | + | |
| 14 | 16 | /** |
| 15 | 17 | * <p>Java class for userGroupRefType complex type. |
| 16 | - * <p/> | |
| 18 | + * | |
| 17 | 19 | * <p>The following schema fragment specifies the expected content contained within this class. |
| 18 | - * <p/> | |
| 20 | + * | |
| 19 | 21 | * <pre> |
| 20 | 22 | * <complexType name="userGroupRefType"> |
| 21 | 23 | * <simpleContent> |
| ... | ... | @@ -26,47 +28,29 @@ import javax.xml.bind.annotation.XmlValue; |
| 26 | 28 | * </simpleContent> |
| 27 | 29 | * </complexType> |
| 28 | 30 | * </pre> |
| 31 | + * | |
| 32 | + * | |
| 29 | 33 | */ |
| 30 | 34 | @XmlAccessorType(XmlAccessType.FIELD) |
| 31 | 35 | @XmlType(name = "userGroupRefType", propOrder = {"value"}) |
| 32 | 36 | public class UserGroupRefType { |
| 33 | 37 | |
| 34 | - @XmlValue | |
| 35 | - protected String value; | |
| 36 | - | |
| 37 | 38 | @XmlAttribute |
| 38 | 39 | protected String name; |
| 39 | 40 | |
| 40 | 41 | @XmlAttribute |
| 41 | 42 | protected String url; |
| 42 | 43 | |
| 43 | - /** | |
| 44 | - * Gets the value of the value property. | |
| 45 | - * | |
| 46 | - * @return possible object is | |
| 47 | - * {@link String } | |
| 48 | - */ | |
| 49 | - public String getValue() | |
| 50 | - { | |
| 51 | - return value; | |
| 52 | - } | |
| 53 | - | |
| 54 | - /** | |
| 55 | - * Sets the value of the value property. | |
| 56 | - * | |
| 57 | - * @param value allowed object is | |
| 58 | - * {@link String } | |
| 59 | - */ | |
| 60 | - public void setValue(String value) | |
| 61 | - { | |
| 62 | - this.value = value; | |
| 63 | - } | |
| 44 | + @XmlValue | |
| 45 | + protected String value; | |
| 64 | 46 | |
| 65 | 47 | /** |
| 66 | 48 | * Gets the value of the name property. |
| 67 | 49 | * |
| 68 | - * @return possible object is | |
| 69 | - * {@link String } | |
| 50 | + * @return | |
| 51 | + * possible object is | |
| 52 | + * {@link String } | |
| 53 | + * | |
| 70 | 54 | */ |
| 71 | 55 | public String getName() |
| 72 | 56 | { |
| ... | ... | @@ -76,8 +60,10 @@ public class UserGroupRefType { |
| 76 | 60 | /** |
| 77 | 61 | * Sets the value of the name property. |
| 78 | 62 | * |
| 79 | - * @param value allowed object is | |
| 80 | - * {@link String } | |
| 63 | + * @param value | |
| 64 | + * allowed object is | |
| 65 | + * {@link String } | |
| 66 | + * | |
| 81 | 67 | */ |
| 82 | 68 | public void setName(String value) |
| 83 | 69 | { |
| ... | ... | @@ -87,8 +73,10 @@ public class UserGroupRefType { |
| 87 | 73 | /** |
| 88 | 74 | * Gets the value of the url property. |
| 89 | 75 | * |
| 90 | - * @return possible object is | |
| 91 | - * {@link String } | |
| 76 | + * @return | |
| 77 | + * possible object is | |
| 78 | + * {@link String } | |
| 79 | + * | |
| 92 | 80 | */ |
| 93 | 81 | public String getUrl() |
| 94 | 82 | { |
| ... | ... | @@ -98,11 +86,39 @@ public class UserGroupRefType { |
| 98 | 86 | /** |
| 99 | 87 | * Sets the value of the url property. |
| 100 | 88 | * |
| 101 | - * @param value allowed object is | |
| 102 | - * {@link String } | |
| 89 | + * @param value | |
| 90 | + * allowed object is | |
| 91 | + * {@link String } | |
| 92 | + * | |
| 103 | 93 | */ |
| 104 | 94 | public void setUrl(String value) |
| 105 | 95 | { |
| 106 | 96 | this.url = value; |
| 107 | 97 | } |
| 98 | + | |
| 99 | + /** | |
| 100 | + * Gets the value of the value property. | |
| 101 | + * | |
| 102 | + * @return | |
| 103 | + * possible object is | |
| 104 | + * {@link String } | |
| 105 | + * | |
| 106 | + */ | |
| 107 | + public String getValue() | |
| 108 | + { | |
| 109 | + return value; | |
| 110 | + } | |
| 111 | + | |
| 112 | + /** | |
| 113 | + * Sets the value of the value property. | |
| 114 | + * | |
| 115 | + * @param value | |
| 116 | + * allowed object is | |
| 117 | + * {@link String } | |
| 118 | + * | |
| 119 | + */ | |
| 120 | + public void setValue(String value) | |
| 121 | + { | |
| 122 | + this.value = value; | |
| 123 | + } | |
| 108 | 124 | } | ... | ... |
| ... | ... | @@ -2,22 +2,24 @@ |
| 2 | 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 |
| 3 | 3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
| 4 | 4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
| 5 | +// Generated on: 2015.12.18 at 12:37:27 PM CET | |
| 5 | 6 | // |
| 6 | 7 | package pl.itcrowd.youtrack.api.rest; |
| 7 | 8 | |
| 9 | +import java.util.ArrayList; | |
| 10 | +import java.util.List; | |
| 8 | 11 | import javax.xml.bind.annotation.XmlAccessType; |
| 9 | 12 | import javax.xml.bind.annotation.XmlAccessorType; |
| 10 | 13 | import javax.xml.bind.annotation.XmlElement; |
| 11 | 14 | import javax.xml.bind.annotation.XmlRootElement; |
| 12 | 15 | import javax.xml.bind.annotation.XmlType; |
| 13 | -import java.util.ArrayList; | |
| 14 | -import java.util.List; | |
| 16 | + | |
| 15 | 17 | |
| 16 | 18 | /** |
| 17 | 19 | * <p>Java class for anonymous complex type. |
| 18 | - * <p/> | |
| 20 | + * | |
| 19 | 21 | * <p>The following schema fragment specifies the expected content contained within this class. |
| 20 | - * <p/> | |
| 22 | + * | |
| 21 | 23 | * <pre> |
| 22 | 24 | * <complexType> |
| 23 | 25 | * <complexContent> |
| ... | ... | @@ -29,6 +31,8 @@ import java.util.List; |
| 29 | 31 | * </complexContent> |
| 30 | 32 | * </complexType> |
| 31 | 33 | * </pre> |
| 34 | + * | |
| 35 | + * | |
| 32 | 36 | */ |
| 33 | 37 | @XmlAccessorType(XmlAccessType.FIELD) |
| 34 | 38 | @XmlType(name = "", propOrder = {"users"}) |
| ... | ... | @@ -40,23 +44,25 @@ public class UserRefs { |
| 40 | 44 | |
| 41 | 45 | /** |
| 42 | 46 | * Gets the value of the users property. |
| 43 | - * <p/> | |
| 44 | - * <p/> | |
| 47 | + * | |
| 48 | + * <p> | |
| 45 | 49 | * This accessor method returns a reference to the live list, |
| 46 | 50 | * not a snapshot. Therefore any modification you make to the |
| 47 | 51 | * returned list will be present inside the JAXB object. |
| 48 | 52 | * This is why there is not a <CODE>set</CODE> method for the users property. |
| 49 | - * <p/> | |
| 50 | - * <p/> | |
| 53 | + * | |
| 54 | + * <p> | |
| 51 | 55 | * For example, to add a new item, do as follows: |
| 52 | 56 | * <pre> |
| 53 | 57 | * getUsers().add(newItem); |
| 54 | 58 | * </pre> |
| 55 | - * <p/> | |
| 56 | - * <p/> | |
| 57 | - * <p/> | |
| 59 | + * | |
| 60 | + * | |
| 61 | + * <p> | |
| 58 | 62 | * Objects of the following type(s) are allowed in the list |
| 59 | 63 | * {@link User } |
| 64 | + * | |
| 65 | + * | |
| 60 | 66 | */ |
| 61 | 67 | public List<User> getUsers() |
| 62 | 68 | { | ... | ... |
| 1 | -<jxb:bindings version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:jxb="http://java.sun.com/xml/ns/jaxb" | |
| 2 | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| 1 | +<jxb:bindings xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:jxb="http://java.sun.com/xml/ns/jaxb" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" | |
| 3 | 2 | xsi:schemaLocation="http://java.sun.com/xml/ns/jaxb http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd"> |
| 4 | 3 | |
| 5 | 4 | |
| ... | ... | @@ -9,6 +8,12 @@ |
| 9 | 8 | </jxb:bindings> |
| 10 | 9 | </jxb:bindings> |
| 11 | 10 | |
| 11 | + <jxb:bindings schemaLocation="../xsd/IntelliSense.xsd" node="/xs:schema"> | |
| 12 | + <jxb:bindings node=".//xs:element[@name='IntelliSense']//xs:sequence[@id='suggest']"> | |
| 13 | + <jxb:property name="items"/> | |
| 14 | + </jxb:bindings> | |
| 15 | + </jxb:bindings> | |
| 16 | + | |
| 12 | 17 | <jxb:bindings schemaLocation="../xsd/issues.xsd" node="/xs:schema"> |
| 13 | 18 | <jxb:bindings node=".//xs:element[@name='issueCompacts']//xs:sequence[@id='issues']"> |
| 14 | 19 | <jxb:property name="issues"/> | ... | ... |
src/main/xsd/IntelliSense.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
| 2 | +<IntelliSense> | |
| 3 | + <suggest> | |
| 4 | + <item> | |
| 5 | + <styleClass>field</styleClass> | |
| 6 | + <option>TT-1</option> | |
| 7 | + <complete>true</complete> | |
| 8 | + <suffix></suffix> | |
| 9 | + <description>Save visible calendar selectio</description> | |
| 10 | + <caret>14</caret> | |
| 11 | + <completion start="9" end="13"/> | |
| 12 | + <match start="0" end="4"/> | |
| 13 | + </item> | |
| 14 | + <item> | |
| 15 | + <styleClass>field</styleClass> | |
| 16 | + <option>TT-10</option> | |
| 17 | + <suffix></suffix> | |
| 18 | + <description>Redirect workers to calendar a</description> | |
| 19 | + <caret>15</caret> | |
| 20 | + <completion start="9" end="13"/> | |
| 21 | + <match start="0" end="4"/> | |
| 22 | + </item> | |
| 23 | + <item> | |
| 24 | + <styleClass>field</styleClass> | |
| 25 | + <option>TT-11</option> | |
| 26 | + <suffix></suffix> | |
| 27 | + <description>Initially select current month</description> | |
| 28 | + <caret>15</caret> | |
| 29 | + <completion start="9" end="13"/> | |
| 30 | + <match start="0" end="4"/> | |
| 31 | + </item> | |
| 32 | + <item> | |
| 33 | + <styleClass>field</styleClass> | |
| 34 | + <option>TT-12</option> | |
| 35 | + <suffix></suffix> | |
| 36 | + <description>Month view</description> | |
| 37 | + <caret>15</caret> | |
| 38 | + <completion start="9" end="13"/> | |
| 39 | + <match start="0" end="4"/> | |
| 40 | + </item> | |
| 41 | + <item> | |
| 42 | + <styleClass>field</styleClass> | |
| 43 | + <option>TT-13</option> | |
| 44 | + <suffix></suffix> | |
| 45 | + <description>Fix share report for current m</description> | |
| 46 | + <caret>15</caret> | |
| 47 | + <completion start="9" end="13"/> | |
| 48 | + <match start="0" end="4"/> | |
| 49 | + </item> | |
| 50 | + <item> | |
| 51 | + <styleClass>field</styleClass> | |
| 52 | + <option>TT-14</option> | |
| 53 | + <suffix></suffix> | |
| 54 | + <description>Work by issue report</description> | |
| 55 | + <caret>15</caret> | |
| 56 | + <completion start="9" end="13"/> | |
| 57 | + <match start="0" end="4"/> | |
| 58 | + </item> | |
| 59 | + <item> | |
| 60 | + <styleClass>field</styleClass> | |
| 61 | + <option>TT-15</option> | |
| 62 | + <suffix></suffix> | |
| 63 | + <description>Work by module report</description> | |
| 64 | + <caret>15</caret> | |
| 65 | + <completion start="9" end="13"/> | |
| 66 | + <match start="0" end="4"/> | |
| 67 | + </item> | |
| 68 | + <item> | |
| 69 | + <styleClass>field</styleClass> | |
| 70 | + <option>TT-16</option> | |
| 71 | + <suffix></suffix> | |
| 72 | + <description>Allow selection of start date</description> | |
| 73 | + <caret>15</caret> | |
| 74 | + <completion start="9" end="13"/> | |
| 75 | + <match start="0" end="4"/> | |
| 76 | + </item> | |
| 77 | + <item> | |
| 78 | + <styleClass>field</styleClass> | |
| 79 | + <option>TT-17</option> | |
| 80 | + <suffix></suffix> | |
| 81 | + <description>Add units for data</description> | |
| 82 | + <caret>15</caret> | |
| 83 | + <completion start="9" end="13"/> | |
| 84 | + <match start="0" end="4"/> | |
| 85 | + </item> | |
| 86 | + <item> | |
| 87 | + <styleClass>field</styleClass> | |
| 88 | + <option>TT-18</option> | |
| 89 | + <suffix></suffix> | |
| 90 | + <description>ViewExpiredException</description> | |
| 91 | + <caret>15</caret> | |
| 92 | + <completion start="9" end="13"/> | |
| 93 | + <match start="0" end="4"/> | |
| 94 | + </item> | |
| 95 | + <item> | |
| 96 | + <styleClass>field</styleClass> | |
| 97 | + <option>TT-19</option> | |
| 98 | + <suffix></suffix> | |
| 99 | + <description>Add current time line</description> | |
| 100 | + <caret>15</caret> | |
| 101 | + <completion start="9" end="13"/> | |
| 102 | + <match start="0" end="4"/> | |
| 103 | + </item> | |
| 104 | + <item> | |
| 105 | + <styleClass>field</styleClass> | |
| 106 | + <option>TT-100</option> | |
| 107 | + <suffix></suffix> | |
| 108 | + <description>After changing search criteria</description> | |
| 109 | + <caret>16</caret> | |
| 110 | + <completion start="9" end="13"/> | |
| 111 | + <match start="0" end="4"/> | |
| 112 | + </item> | |
| 113 | + <item> | |
| 114 | + <styleClass>field</styleClass> | |
| 115 | + <option>TT-101</option> | |
| 116 | + <suffix></suffix> | |
| 117 | + <description>Introduce "Customers" filter i</description> | |
| 118 | + <caret>16</caret> | |
| 119 | + <completion start="9" end="13"/> | |
| 120 | + <match start="0" end="4"/> | |
| 121 | + </item> | |
| 122 | + <item> | |
| 123 | + <styleClass>field</styleClass> | |
| 124 | + <option>TT-102</option> | |
| 125 | + <suffix></suffix> | |
| 126 | + <description>Customer CRUD</description> | |
| 127 | + <caret>16</caret> | |
| 128 | + <completion start="9" end="13"/> | |
| 129 | + <match start="0" end="4"/> | |
| 130 | + </item> | |
| 131 | + <item> | |
| 132 | + <styleClass>field</styleClass> | |
| 133 | + <option>TT-103</option> | |
| 134 | + <suffix></suffix> | |
| 135 | + <description>Create tickets for bugs and fe</description> | |
| 136 | + <caret>16</caret> | |
| 137 | + <completion start="9" end="13"/> | |
| 138 | + <match start="0" end="4"/> | |
| 139 | + </item> | |
| 140 | + </suggest> | |
| 141 | + <recent/> | |
| 142 | + <highlight> | |
| 143 | + <range> | |
| 144 | + <styleClass>keyword</styleClass> | |
| 145 | + <start>0</start> | |
| 146 | + <end>8</end> | |
| 147 | + </range> | |
| 148 | + <range> | |
| 149 | + <styleClass>field</styleClass> | |
| 150 | + <start>9</start> | |
| 151 | + <end>13</end> | |
| 152 | + </range> | |
| 153 | + </highlight> | |
| 154 | +</IntelliSense> | |
| \ No newline at end of file | ... | ... |
src/main/xsd/IntelliSense.xsd
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified"> | |
| 3 | + <xs:include schemaLocation="types.xsd"/> | |
| 4 | + <xs:element name="IntelliSense"> | |
| 5 | + <xs:complexType> | |
| 6 | + <xs:sequence id="IntelliSense"> | |
| 7 | + <xs:element name="suggest"> | |
| 8 | + <xs:complexType> | |
| 9 | + <xs:sequence id="suggest"> | |
| 10 | + <xs:element type="issueItem" name="item" maxOccurs="unbounded" minOccurs="0"/> | |
| 11 | + </xs:sequence> | |
| 12 | + </xs:complexType> | |
| 13 | + </xs:element> | |
| 14 | + </xs:sequence> | |
| 15 | + </xs:complexType> | |
| 16 | + </xs:element> | |
| 17 | +</xs:schema> | |
| \ No newline at end of file | ... | ... |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | -<xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.1.0"> | |
| 2 | +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified" version="1.1.0"> | |
| 3 | 3 | |
| 4 | 4 | <xs:complexType name="assignedByType"> |
| 5 | 5 | <xs:sequence> |
| ... | ... | @@ -57,6 +57,13 @@ |
| 57 | 57 | <xs:attribute type="xs:string" name="id" use="optional"/> |
| 58 | 58 | </xs:complexType> |
| 59 | 59 | |
| 60 | + <xs:complexType name="issueItem"> | |
| 61 | + <xs:sequence> | |
| 62 | + <xs:element type="xs:string" name="option"/> | |
| 63 | + <xs:element type="xs:string" name="description"/> | |
| 64 | + </xs:sequence> | |
| 65 | + </xs:complexType> | |
| 66 | + | |
| 60 | 67 | <xs:complexType name="commentType" mixed="true"> |
| 61 | 68 | <xs:sequence> |
| 62 | 69 | <xs:element type="xs:string" name="replies" minOccurs="0"/> | ... | ... |
Please
register
or
login
to post a comment