Package org.jboss.shrinkwrap.impl.base
Class IdentifiableArchiveImpl
- java.lang.Object
-
- org.jboss.shrinkwrap.impl.base.AssignableBase<ArchiveBase<?>>
-
- org.jboss.shrinkwrap.impl.base.IdentifiableArchiveImpl
-
- All Implemented Interfaces:
Assignable
,Identifiable
public class IdentifiableArchiveImpl extends AssignableBase<ArchiveBase<?>> implements Identifiable
Assignable
implementation view of anIdentifiable
.- Version:
- $Revision: $
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.logging.Logger
log
Logger
-
Constructor Summary
Constructors Constructor Description IdentifiableArchiveImpl(ArchiveBase<?> archive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getId()
Obtains a globally-unique identifiervoid
setId(java.lang.String id)
Sets the globally-unique identifier-
Methods inherited from class org.jboss.shrinkwrap.impl.base.AssignableBase
as, getArchive
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.shrinkwrap.api.Assignable
as
-
-
-
-
Constructor Detail
-
IdentifiableArchiveImpl
public IdentifiableArchiveImpl(ArchiveBase<?> archive)
-
-
Method Detail
-
getId
public java.lang.String getId()
Description copied from interface:Identifiable
Obtains a globally-unique identifier- Specified by:
getId
in interfaceIdentifiable
- Returns:
-
setId
public void setId(java.lang.String id) throws java.lang.IllegalArgumentException
Description copied from interface:Identifiable
Sets the globally-unique identifier- Specified by:
setId
in interfaceIdentifiable
- Throws:
java.lang.IllegalArgumentException
- If the ID is not specified
-
-