Forge - Facets Addon API 2.0.0.Alpha3

org.jboss.forge.facets
Interface MutableOrigin<FACETED extends Faceted<?>>

All Superinterfaces:
Facet<FACETED>
All Known Implementing Classes:
AbstractFacet

public interface MutableOrigin<FACETED extends Faceted<?>>
extends Facet<FACETED>

A Facet with a mutable Facet.getOrigin().

Author:
Lincoln Baxter, III

Method Summary
 void setOrigin(FACETED origin)
          Set the Faceted origin to which this Facet belongs.
 
Methods inherited from interface org.jboss.forge.facets.Facet
getOrigin, install, isInstalled, uninstall
 

Method Detail

setOrigin

void setOrigin(FACETED origin)
Set the Faceted origin to which this Facet belongs. Should only be set once, since each Faceted instance receives its own unique instance of all compatible Facet types. This method must be called before invoking any operations on this instance.


Forge - Facets Addon API 2.0.0.Alpha3

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.