allow name to be set

This commit is contained in:
danikov 2012-02-16 00:55:27 +00:00
parent b96f818dff
commit 9f4246f587
1 changed files with 7 additions and 3 deletions

View File

@ -18,9 +18,9 @@
*/ */
package org.jclouds.vcloud.director.v1_5.domain; package org.jclouds.vcloud.director.v1_5.domain;
import static com.google.common.base.Objects.*; import static com.google.common.base.Objects.equal;
import static com.google.common.base.Preconditions.*; import static com.google.common.base.Preconditions.checkNotNull;
import static org.jclouds.vcloud.director.v1_5.VCloudDirectorConstants.*; import static org.jclouds.vcloud.director.v1_5.VCloudDirectorConstants.VCLOUD_1_5_NS;
import java.net.URI; import java.net.URI;
import java.util.Set; import java.util.Set;
@ -217,6 +217,10 @@ public class EntityType<T extends EntityType<T>> extends ResourceType<T> {
return name; return name;
} }
public void setName(String name) {
this.name = name;
}
@Override @Override
public boolean equals(Object o) { public boolean equals(Object o) {
if (this == o) if (this == o)