![JAR search and dependency download from the Maven repository](/logo.png)
org.openstack4j.model.common.IdEntity Maven / Gradle / Ivy
package org.openstack4j.model.common;
import org.openstack4j.model.ModelEntity;
/**
* A simple entity which supports encapsulating an identifier
*
* @author Jeremy Unruh
*/
public interface IdEntity extends ModelEntity {
/**
* @return the identifier for this resource
*/
String getId();
/**
* Sets the identifier for this resource. Note: creating a new resource should not have the idenfier set since OpenStack will
* assign one on the create call
*
* @param id the identifier
*/
void setId(String id);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy