nl.gx.webmanager.cms.mediarepository
Interface MediaTerm


public interface MediaTerm


Method Summary
 MediaTerm[] getBroaderTerms()
          Returns an array of all terms broader than this term.
 java.lang.String getClassification()
          Returns the classification of this media term.
 MediaTermClassification[] getClassifications()
          Returns all MediaTermClassification objects for this MediaTerm.
 int getId()
          Returns the id of this media term.
 java.lang.String getName()
          Returns the name of this media term.
 MediaTerm[] getNarrowerTerms()
          Returns an array of all terms narrower than this term.
 MediaTerm[] getRelatedTerms()
          Returns an array of all terms related to this term.
 MediaTerm[] getUsedByTerms()
          Returns an array of all terms used by this term.
 MediaTerm[] getUsedForTerms()
          Returns an array of all terms used for this term.
 void setClassifications(MediaTermClassification[] classifications)
          Assigns the given array of MediaTermClassification objects to this MediaTerm.
 

Method Detail

getId

int getId()
Returns the id of this media term.

Returns:
the id of this media term.

getName

java.lang.String getName()
Returns the name of this media term.

Returns:
the name of this media term.

getClassification

java.lang.String getClassification()
Returns the classification of this media term.

Returns:
the classification of this media term.

getBroaderTerms

MediaTerm[] getBroaderTerms()
Returns an array of all terms broader than this term.

Returns:
an array of all terms broader than this term.

getNarrowerTerms

MediaTerm[] getNarrowerTerms()
Returns an array of all terms narrower than this term.

Returns:
an array of all terms narrower than this term

getUsedByTerms

MediaTerm[] getUsedByTerms()
Returns an array of all terms used by this term.

Returns:
an array of all terms used by this term

getUsedForTerms

MediaTerm[] getUsedForTerms()
Returns an array of all terms used for this term.

Returns:
an array of all terms used for this term

getRelatedTerms

MediaTerm[] getRelatedTerms()
Returns an array of all terms related to this term.

Returns:
an array of all related terms

getClassifications

MediaTermClassification[] getClassifications()
Returns all MediaTermClassification objects for this MediaTerm. Returns an empty array if this MediaTerm object has no MediaTermClassification objects.

Returns:
All MediaTermClassification objects for this MediaTerm. Returns an empty array if this MediaTerm object has no MediaTermClassification objects.

setClassifications

void setClassifications(MediaTermClassification[] classifications)
Assigns the given array of MediaTermClassification objects to this MediaTerm. Note that this overwrites the currently assigned MediaTermClassification objects, which means that if you just want to add some MediaTermClassification objects, you have to retrieve the currently assigned MediaTermClassification objects first.

Parameters:
classifications - The array of MediaTermClassification objects which should be assigned to this MediaTerm.


Copyright © 2007-2011 GX Software BV. All Rights Reserved.