|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hyper9.uvapi.impls.BeanImpl
com.hyper9.uvapi.impls.UniqueBeanImpl<java.lang.Integer>
com.hyper9.vangaea.impls.beans.admin.AdminBeanImpl
com.hyper9.vangaea.impls.beans.admin.UriMappingBeanImpl
public class UriMappingBeanImpl
A bean describing a row in the tbl_uri_ids table.
Field Summary |
---|
Fields inherited from class com.hyper9.vangaea.impls.beans.admin.AdminBeanImpl |
---|
conn, isDeleted, isDirty |
Constructor Summary | |
---|---|
UriMappingBeanImpl()
The default constructor for serialization. |
Method Summary | ||
---|---|---|
static UriMappingBean |
add(java.sql.Connection connection,
java.lang.String uriID,
java.lang.String objectID,
int serverID)
Adds an URI mapping for the given object. |
|
static
|
add(java.sql.Connection connection,
T bean,
int serverID)
Adds an URI mapping for the given object. |
|
static java.lang.String |
getBeanUriID(com.hyper9.uvapi.types.virt.VirtBean bean)
Gets a bean's URI ID. |
|
static UriMappingBean |
getByObjectID(java.sql.Connection connection,
java.lang.String objectID)
Gets a URI mapping bean for the given object ID. |
|
static UriMappingBean |
getByUriID(java.sql.Connection connection,
java.lang.String uriID)
Gets a URI mapping bean for the given URI ID. |
|
java.util.Date |
getCreated()
Gets the date when this entry was created. |
|
java.lang.String |
getObjectID()
Gets the object's ID. |
|
int |
getServerID()
Gets the server ID. |
|
void |
setCreated(java.util.Date toSet)
Sets the date when this entry was created. |
|
void |
setObjectID(java.lang.String toSet)
Sets the object's ID. |
|
void |
setServerID(int toSet)
Sets the server ID. |
Methods inherited from class com.hyper9.vangaea.impls.beans.admin.AdminBeanImpl |
---|
getConnection, isDeleted, isDirty |
Methods inherited from class com.hyper9.uvapi.impls.UniqueBeanImpl |
---|
getID, setID |
Methods inherited from class com.hyper9.uvapi.impls.BeanImpl |
---|
toString, toString, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.hyper9.vangaea.types.beans.admin.AdminBean |
---|
getConnection, isDeleted, isDirty |
Methods inherited from interface com.hyper9.common.beans.UniqueBean |
---|
getID, setID |
Methods inherited from interface com.hyper9.common.beans.Bean |
---|
toString, toString, toString, toString |
Constructor Detail |
---|
public UriMappingBeanImpl()
Method Detail |
---|
public java.util.Date getCreated()
UriMappingBean
getCreated
in interface UriMappingBean
public java.lang.String getObjectID()
UriMappingBean
getObjectID
in interface UriMappingBean
public int getServerID()
UriMappingBean
getServerID
in interface UriMappingBean
public void setCreated(java.util.Date toSet)
UriMappingBean
setCreated
in interface UriMappingBean
toSet
- The date when this entry was created.public void setObjectID(java.lang.String toSet)
UriMappingBean
setObjectID
in interface UriMappingBean
toSet
- The object's ID.public void setServerID(int toSet)
UriMappingBean
setServerID
in interface UriMappingBean
toSet
- The server ID.public static UriMappingBean getByUriID(java.sql.Connection connection, java.lang.String uriID) throws java.lang.Exception
connection
- The underlying data connection.uriID
- The URI ID.
java.lang.Exception
- When an error occurs.public static UriMappingBean getByObjectID(java.sql.Connection connection, java.lang.String objectID) throws java.lang.Exception
connection
- The underlying data connection.objectID
- object URI ID.
java.lang.Exception
- When an error occurs.public static java.lang.String getBeanUriID(com.hyper9.uvapi.types.virt.VirtBean bean)
bean
- The bean to get the URI ID for.
public static <T extends com.hyper9.uvapi.types.virt.VirtBean> UriMappingBean add(java.sql.Connection connection, T bean, int serverID) throws java.lang.Exception
T
- A type that extends VirtBean.connection
- The underlying data connection.bean
- The virtualization bean to add the entry for.serverID
- The ID of the server the bean belongs to.
java.lang.Exception
- When an error occurs.public static UriMappingBean add(java.sql.Connection connection, java.lang.String uriID, java.lang.String objectID, int serverID) throws java.lang.Exception
connection
- The underlying data connection.uriID
- The object's URI ID.objectID
- The object's ID.serverID
- The server ID.
java.lang.Exception
- When an error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |