mirror of https://github.com/apache/jclouds.git
Issue 695: Removed Row and Group: Use NamedResource instead
This commit is contained in:
parent
e0500af771
commit
115f93a7d7
|
@ -1,31 +0,0 @@
|
|||
/**
|
||||
* Licensed to jclouds, Inc. (jclouds) under one or more
|
||||
* contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. jclouds licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the
|
||||
* "License"); you may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.jclouds.tmrk.enterprisecloud.domain;
|
||||
|
||||
import org.jclouds.tmrk.enterprisecloud.domain.internal.BaseNamedResource;
|
||||
|
||||
/**
|
||||
* @author Jason King
|
||||
*/
|
||||
public class Group extends BaseNamedResource<Group> {
|
||||
|
||||
public Group() {
|
||||
//For JAXB
|
||||
}
|
||||
}
|
|
@ -34,12 +34,12 @@ import javax.xml.bind.annotation.XmlElement;
|
|||
*/
|
||||
public class Layout {
|
||||
@XmlElement(name = "Group")
|
||||
private Group group;
|
||||
private NamedResource group;
|
||||
|
||||
@XmlElement(name = "Row")
|
||||
private Row row;
|
||||
private NamedResource row;
|
||||
|
||||
public Layout(@Nullable Group group, @Nullable Row row) {
|
||||
public Layout(@Nullable NamedResource group, @Nullable NamedResource row) {
|
||||
this.group = group;
|
||||
this.row = row;
|
||||
}
|
||||
|
@ -48,11 +48,11 @@ public class Layout {
|
|||
//For JAXB
|
||||
}
|
||||
|
||||
public Group getGroup() {
|
||||
public NamedResource getGroup() {
|
||||
return group;
|
||||
}
|
||||
|
||||
public Row getRow() {
|
||||
public NamedResource getRow() {
|
||||
return row;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
/**
|
||||
* Licensed to jclouds, Inc. (jclouds) under one or more
|
||||
* contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. jclouds licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the
|
||||
* "License"); you may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.jclouds.tmrk.enterprisecloud.domain;
|
||||
|
||||
import org.jclouds.tmrk.enterprisecloud.domain.internal.BaseNamedResource;
|
||||
|
||||
/**
|
||||
* @author Jason King
|
||||
*/
|
||||
public class Row extends BaseNamedResource<Row> {
|
||||
public Row() {
|
||||
//For JAXB
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue