Package org.jboss.shrinkwrap.spi
Interface Identifiable
-
- All Superinterfaces:
Assignable
- All Known Implementing Classes:
ArchiveBase,IdentifiableArchiveImpl,MemoryMapArchiveBase,MemoryMapArchiveImpl
public interface Identifiable extends Assignable
Assignableview representing an entity with an ID.- Version:
- $Revision: $
- Author:
- ALR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetId()Obtains a globally-unique identifiervoidsetId(String id)Sets the globally-unique identifier-
Methods inherited from interface org.jboss.shrinkwrap.api.Assignable
as
-
-
-
-
Method Detail
-
getId
String getId()
Obtains a globally-unique identifier- Returns:
-
setId
void setId(String id) throws IllegalArgumentException
Sets the globally-unique identifier- Parameters:
id-- Throws:
IllegalArgumentException- If the ID is not specified
-
-