nl.gx.webmanager.services.entitymanager
Interface Identifiable


public interface Identifiable

Author:
n.milutinovic

Method Summary
 WmId getId()
           
 void setId(WmId id)
          Allows setting of the Web Manager ID on a freshly created WM managed instance.
 

Method Detail

getId

WmId getId()
Returns:
WM ID of the instance or null if no ID has been assigned.

setId

void setId(WmId id)
Allows setting of the Web Manager ID on a freshly created WM managed instance. If the instance already has an ID associated with it an exception is thrown.

Parameters:
id - WM ID of the instance.
Throws:
DomainError - if ID is already assigned to the instance.


Copyright © 2007-2011 GX Software BV. All Rights Reserved.