public class

ConceptMetadataImpl

extends Object
implements Serializable JPAEntity ConceptMetadata
java.lang.Object
   ↳ vars.knowledgebase.jpa.ConceptMetadataImpl

Class Overview

 CREATE TABLE CONCEPTDELEGATE (
   ID                 BIGINT NOT NULL,
   CONCEPTID_FK       BIGINT,
   USAGEID_FK         BIGINT,
   CONSTRAINT PK_CONCEPTDELEGATE PRIMARY KEY(ID)
 )
 GO
 CREATE INDEX IDX_USAGEID
   ON CONCEPTDELEGATE(USAGEID_FK)
 GO
 CREATE INDEX IDX_CONCEPTID
   ON CONCEPTDELEGATE(CONCEPTID_FK)
 GO
 

Summary

[Expand]
Inherited Constants
From interface vars.knowledgebase.ConceptMetadata
Public Constructors
ConceptMetadataImpl()
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.
boolean equals(Object obj)
Collection<Artifact> getArtifacts()
Concept getConcept()
Gets the concept attribute of the ConceptDelegate object
Collection<History> getHistories()
Long getId()
Collection<LinkRealization> getLinkRealizations()
Collection<LinkTemplate> getLinkTemplates()
Collection<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
int hashCode()
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 setId(Long id)
void setUsage(Usage usage)
Sets the Usage for this Concept.
String toString()
Protected Methods
void setConcept(Concept concept)
[Expand]
Inherited Methods
From class java.lang.Object
From interface vars.VARSObject
From interface vars.jpa.JPAEntity
From interface vars.knowledgebase.ConceptMetadata

Public Constructors

public ConceptMetadataImpl ()

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 boolean equals (Object obj)

public Collection<Artifact> getArtifacts ()

public Concept getConcept ()

Gets the concept attribute of the ConceptDelegate object

Returns
  • The concept value

public Collection<History> getHistories ()

public Long getId ()

public Collection<LinkRealization> getLinkRealizations ()

public Collection<LinkTemplate> getLinkTemplates ()

public Collection<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 int hashCode ()

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 setId (Long id)

public void setUsage (Usage usage)

Sets the Usage for this Concept.

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

public String toString ()

Protected Methods

protected void setConcept (Concept concept)