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
Assignableimplementation view of anIdentifiable.- Version:
- $Revision: $
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.logging.LoggerlogLogger
-
Constructor Summary
Constructors Constructor Description IdentifiableArchiveImpl(ArchiveBase<?> archive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetId()Obtains a globally-unique identifiervoidsetId(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:IdentifiableObtains a globally-unique identifier- Specified by:
getIdin interfaceIdentifiable- Returns:
-
setId
public void setId(java.lang.String id) throws java.lang.IllegalArgumentExceptionDescription copied from interface:IdentifiableSets the globally-unique identifier- Specified by:
setIdin interfaceIdentifiable- Throws:
java.lang.IllegalArgumentException- If the ID is not specified
-
-