public class

SimpleConceptMetadataBean

extends Object
implements ConceptMetadata
java.lang.Object
   ↳ vars.knowledgebase.SimpleConceptMetadataBean

Summary

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

Public Constructors

public SimpleConceptMetadataBean ()

public SimpleConceptMetadataBean (Concept concept)

Public Methods

public void addArtifact (Artifact artifact)

public 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

public 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

public 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

public 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

public Collection<Artifact> getArtifacts ()

public Concept getConcept ()

Gets the concept attribute of the ConceptDelegate object

Returns
  • The concept value

public Set<History> getHistories ()

public Set<LinkRealization> getLinkRealizations ()

public Set<LinkTemplate> getLinkTemplates ()

public Set<Media> getMedias ()

public Media getPrimaryImage ()

public Object getPrimaryKey ()

public Media getPrimaryMedia (MediaTypes mediaType)

public Usage getUsage ()

public 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 boolean isPendingApproval ()

public void removeArtifact (Artifact artifact)

public 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.

public 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.

public 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.

public 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.

public void setUsage (Usage usage)

Sets the Usage for this Concept.

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