Package org.jboss.shrinkwrap.spi
Interface Identifiable
-
- All Superinterfaces:
Assignable
- All Known Implementing Classes:
ArchiveBase
,IdentifiableArchiveImpl
,MemoryMapArchiveBase
,MemoryMapArchiveImpl
public interface Identifiable extends Assignable
Assignable
view representing an entity with an ID.- Version:
- $Revision: $
- Author:
- ALR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getId()
Obtains a globally-unique identifiervoid
setId(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
-
-