# HG changeset patch # User Felix Wolfsteller # Date 1386581484 -3600 # Node ID da412a6c4f390c09a0ba894db28e42573a5e1f5e # Parent 7e4c5bd86227290e4ce5ea5642f1a508b2eb5b33 Cosmetics, doc. diff -r 7e4c5bd86227 -r da412a6c4f39 artifacts/src/main/java/org/dive4elements/river/artifacts/D4EArtifact.java --- a/artifacts/src/main/java/org/dive4elements/river/artifacts/D4EArtifact.java Mon Dec 09 09:56:01 2013 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/D4EArtifact.java Mon Dec 09 10:31:24 2013 +0100 @@ -118,8 +118,10 @@ */ protected Map> filterFacets; + /** To which out this artifacts facets are bound by default. */ private String boundToOut; + /** * Interface to a global facet filter. */ @@ -1297,7 +1299,7 @@ } /** If we use a facet filter that bases the list of compatible facets - * on the output this artifact is bound to then this returns true */ + * on the output this artifact is bound to then return true. */ public boolean usesOutputGlobalFacetFilter() { if (boundToOut == null || boundToOut.isEmpty()) { return false; @@ -1310,8 +1312,9 @@ return facetFilter != null; } - /** If a global facet filter and a bounded out are defined - * use them to eliminate unwished facets. + /** + * If a global facet filter and a bounded out are defined + * use them to eliminate unwished facets. */ protected List applyGlobalFilterFacets(List facets) { if (!usesOutputGlobalFacetFilter()) { @@ -1433,7 +1436,7 @@ /** - * Like compute, but identify State by it id (string). + * Like compute, but identify State by its id (string). */ public Object compute( CallContext context, @@ -1526,9 +1529,7 @@ } /** - * Sets the facets for an ID - * - * Normally the id is a state ID. + * Sets the facets for an ID, which is normally a state ID. * * @param id ID to map the facets to * @param facets List of facets to be stored @@ -1655,7 +1656,7 @@ } /** - * Return the Facets which a state provides + * Return the Facets which a state provides. * @param stateid String that identifies the state * @return List of Facets belonging to the state identifier */ @@ -1668,7 +1669,7 @@ } /** - * Binds this artifact and all its facet to an out + * Binds this artifact and all its facet to an out. */ public void setBoundToOut(String out) { boundToOut = out;