public interface

ConceptMetadata

implements KnowledgebaseObject
vars.knowledgebase.ConceptMetadata
Known Indirect Subclasses

Summary

Constants
String PROP_CONCEPT
String PROP_USAGE
Public Methods
abstract void addArtifact(Artifact artifact)
abstract void addHistory(History history)
Adds a History to this Concept.
abstract void addLinkRealization(LinkRealization linkRealization)
Adds a LinkRealization object to the collection maintained by this Concept.
abstract void addLinkTemplate(LinkTemplate linkTemplate)
Adds a LinkTemplate to the collection maintained by this Concept.
abstract void addMedia(Media media)
Adds a Media to the collection maintained by this Concept.
abstract Collection<Artifact> getArtifacts()
abstract Concept getConcept()
Gets the concept attribute of the ConceptDelegate object
abstract Collection<History> getHistories()
abstract Collection<LinkRealization> getLinkRealizations()
abstract Collection<LinkTemplate> getLinkTemplates()
abstract Collection<Media> getMedias()
abstract Media getPrimaryImage()
abstract Media getPrimaryMedia(MediaTypes mediaType)
abstract Usage getUsage()
abstract boolean hasPrimaryImage()
Returns boolean whether this Concept has a primary image associated with it
abstract boolean isPendingApproval()
abstract void removeArtifact(Artifact artifact)
abstract void removeHistory(History history)
Removes a History from this Concept .
abstract void removeLinkRealization(LinkRealization linkRealization)
Removes a LinkRealization from this Concept .
abstract void removeLinkTemplate(LinkTemplate linkTemplate)
Removes a LinkTemplate from this Concept .
abstract void removeMedia(Media media)
Removes a Media from this Concept .
abstract void setUsage(Usage usage)
Sets the Usage for this Concept.
[Expand]
Inherited Methods
From interface vars.VARSObject

Constants

public static final String PROP_CONCEPT

Constant Value: "concept"

public static final String PROP_USAGE

Constant Value: "usage"

Public Methods

public abstract void addArtifact (Artifact artifact)

public abstract void addHistory (History history)

Adds a History to this Concept.

Parameters
history A History to be assigned to this Concept.
Returns
  • Description of the Return Value
See Also

public abstract void addLinkRealization (LinkRealization linkRealization)

Adds a LinkRealization object to the collection maintained by this Concept.

Parameters
linkRealization A LinkRealization with information referring to this Concept.
Returns
  • Description of the Return Value
See Also

public abstract void addLinkTemplate (LinkTemplate linkTemplate)

Adds a LinkTemplate to the collection maintained by this Concept.

Parameters
linkTemplate A LinkTemplate to be assigned to this Concept node.
Returns
  • Description of the Return Value
See Also

public abstract void addMedia (Media media)

Adds a Media to the collection maintained by this Concept.

Parameters
media The feature to be added to the Media attribute
Returns
  • Description of the Return Value
See Also

public abstract Collection<Artifact> getArtifacts ()

public abstract Concept getConcept ()

Gets the concept attribute of the ConceptDelegate object

Returns
  • The concept value

public abstract Collection<History> getHistories ()

public abstract Collection<LinkRealization> getLinkRealizations ()

public abstract Collection<LinkTemplate> getLinkTemplates ()

public abstract Collection<Media> getMedias ()

public abstract Media getPrimaryImage ()

public abstract Media getPrimaryMedia (MediaTypes mediaType)

public abstract Usage getUsage ()

public abstract boolean hasPrimaryImage ()

Returns boolean whether this Concept has a primary image associated with it

Returns
  • A boolean whether this Concept has a primary image.

public abstract boolean isPendingApproval ()

Returns
  • true if it contains a history that has not been approved or reject

public abstract void removeArtifact (Artifact artifact)

public abstract void removeHistory (History history)

Removes a History from this Concept .

Parameters
history A History to remove from this Concept .
Returns
  • true if the History object is removed.
See Also

public abstract void removeLinkRealization (LinkRealization linkRealization)

Removes a LinkRealization from this Concept .

Parameters
linkRealization A LinkRealization to remove from this Concept .
Returns
  • true if the LinkRealization is removed.
See Also

public abstract void removeLinkTemplate (LinkTemplate linkTemplate)

Removes a LinkTemplate from this Concept .

Parameters
linkTemplate A LinkTemplate to remove from this Concept .
Returns
  • true if the LinkTemplate is removed.
See Also

public abstract void removeMedia (Media media)

Removes a Media from this Concept .

Parameters
media A Media to remove from this Concept .
Returns
  • true if the Media object is removed.
See Also

public abstract void setUsage (Usage usage)

Sets the Usage for this Concept.

Parameters
usage A Usage to be assigned to this Concept node.
See Also