ExternalReferenceSet (ant-cyclonedx API)
Description: declaration: package: org.apache.ant.cyclonedx, class: ExternalReferenceSet

# Klasse ExternalReferenceSet

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.ant.cyclonedx.ExternalReferenceSet

Alle implementierten Schnittstellen:
  `Cloneable`

public class ExternalReferenceSet extends org.apache.tools.ant.types.DataType
A container for a collection of `ExternalReference`s.

This class is a type exposed by this Ant Library. When using the inherited `refid` attribute it can reference an instance defined previously - in which case no child elements are allowed.

- ## Feldübersicht

  ### Von Klasse geerbte Felder org.apache.tools.ant.types.DataType

  `checked, ref`

  ### Von Klasse geerbte Felder org.apache.tools.ant.ProjectComponent

  `description, location, project`

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `ExternalReferenceSet()`

- ## Methodenübersicht

  Modifikator und Typ
  Methode
  Beschreibung
  `void`
  `addConfiguredExternalReference(ExternalReference ref)`
  Adds an external reference to this set.
  `Collection<org.cyclonedx.model.ExternalReference>`
  `getExternalReferences()`
  Return the external references contained in this set.
  `protected ExternalReferenceSet`
  `getRef()`
  Perform the check for circular references and return the referenced ExternalReferenceSet.

  ### Von Klasse geerbte Methoden org.apache.tools.ant.types.DataType

  `checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString`

  ### Von Klasse geerbte Methoden org.apache.tools.ant.ProjectComponent

  `getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject`

  ### Von Klasse geerbte Methoden Object

  `equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Konstruktordetails

  - ### ExternalReferenceSet

    public ExternalReferenceSet()

- ## Methodendetails

  - ### addConfiguredExternalReference

    public void addConfiguredExternalReference(ExternalReference ref)
    Adds an external reference to this set.
    Parameter:
      `ref` - reference to add

  - ### getExternalReferences

    public Collection<org.cyclonedx.model.ExternalReference> getExternalReferences()
    Return the external references contained in this set.
    Gibt zurück:
      external references contained in this set

  - ### getRef

    protected ExternalReferenceSet getRef()
    Perform the check for circular references and return the referenced ExternalReferenceSet.
    Gibt zurück:
      `ExternalReferenceSet`.