Package aQute.bnd.component
Class ReferenceDef
- java.lang.Object
-
- aQute.bnd.xmlattribute.ExtensionDef
-
- aQute.bnd.component.ReferenceDef
-
class ReferenceDef extends ExtensionDef
Holds the information in the reference element.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String
bind
(package private) java.lang.String
bindDescriptor
(package private) ReferenceCardinality
cardinality
(package private) java.lang.String
className
(package private) CollectionType
collectionType
(package private) java.lang.String
field
(package private) FieldOption
fieldOption
(package private) boolean
isCollection
(package private) boolean
isCollectionSubClass
(package private) boolean
isOptional
(package private) java.lang.String
name
(package private) java.lang.Integer
parameter
(package private) ReferencePolicy
policy
(package private) ReferencePolicyOption
policyOption
(package private) java.lang.String
reasonForVersion
(package private) ReferenceScope
scope
(package private) java.lang.String
service
(package private) java.lang.String
target
(package private) java.lang.String
unbind
(package private) java.lang.String
updated
(package private) Version
version
-
Constructor Summary
Constructors Constructor Description ReferenceDef(XMLAttributeFinder finder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Tag
getTag(Namespaces namespaces)
Calculate the tag.void
prepare(Analyzer analyzer)
Prepare the reference, will check for any errors.java.lang.String
toString()
(package private) void
updateVersion(Version version, java.lang.String reason)
-
Methods inherited from class aQute.bnd.xmlattribute.ExtensionDef
addAttributes, addExtensionAttribute, addNamespaces
-
-
-
-
Field Detail
-
className
java.lang.String className
-
bindDescriptor
java.lang.String bindDescriptor
-
version
Version version
-
name
java.lang.String name
-
service
java.lang.String service
-
cardinality
ReferenceCardinality cardinality
-
policy
ReferencePolicy policy
-
policyOption
ReferencePolicyOption policyOption
-
target
java.lang.String target
-
bind
java.lang.String bind
-
unbind
java.lang.String unbind
-
updated
java.lang.String updated
-
scope
ReferenceScope scope
-
field
java.lang.String field
-
fieldOption
FieldOption fieldOption
-
collectionType
CollectionType collectionType
-
isCollection
boolean isCollection
-
isOptional
boolean isOptional
-
isCollectionSubClass
boolean isCollectionSubClass
-
parameter
java.lang.Integer parameter
-
reasonForVersion
java.lang.String reasonForVersion
-
-
Constructor Detail
-
ReferenceDef
public ReferenceDef(XMLAttributeFinder finder)
-
-
Method Detail
-
prepare
public void prepare(Analyzer analyzer) throws java.lang.Exception
Prepare the reference, will check for any errors.- Parameters:
analyzer
- the analyzer to report errors to.- Throws:
java.lang.Exception
-
getTag
Tag getTag(Namespaces namespaces)
Calculate the tag.- Parameters:
namespaces
-- Returns:
- a tag for the reference element.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
updateVersion
void updateVersion(Version version, java.lang.String reason)
-
-