gov.nasa.pds.ltdt.gui
Class KeywordProperty

java.lang.Object
  extended by gov.nasa.pds.ltdt.gui.KeywordProperty

public class KeywordProperty
extends java.lang.Object

A structure to hold the "value" portion for KeywordInfo

Author:
jwang

Constructor Summary
KeywordProperty()
          Constructor
KeywordProperty(java.lang.String id, int type, gov.nasa.pds.tools.dict.Definition def, java.net.URL u)
          Constructor
 
Method Summary
 java.net.URL getDictURL()
           
 java.lang.String getIdentifier()
           
 gov.nasa.pds.tools.dict.Definition getKwdDef()
           
 int getKwdType()
           
 boolean isModified()
           
 boolean isNew()
           
 void setDictURL(java.net.URL u)
           
 void setIdentifier(java.lang.String i)
           
 void setKwdDef(gov.nasa.pds.tools.dict.Definition def)
           
 void setKwdType(int type)
           
 void setModified()
           
 void setNew()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeywordProperty

public KeywordProperty()
Constructor


KeywordProperty

public KeywordProperty(java.lang.String id,
                       int type,
                       gov.nasa.pds.tools.dict.Definition def,
                       java.net.URL u)
Constructor

Parameters:
id - Identifier. The actaul value of "NEME =" in data dictionary, which may or may not contain namespace.
type - Type of keyword (object, element, or group)
def - Detailed definition for this keyword
u - Location of parent data dictionary in URL format (file://xxx or http://xxx)
Method Detail

setIdentifier

public void setIdentifier(java.lang.String i)

setKwdType

public void setKwdType(int type)

setKwdDef

public void setKwdDef(gov.nasa.pds.tools.dict.Definition def)

setDictURL

public void setDictURL(java.net.URL u)

getIdentifier

public java.lang.String getIdentifier()

getKwdType

public int getKwdType()

getKwdDef

public gov.nasa.pds.tools.dict.Definition getKwdDef()

getDictURL

public java.net.URL getDictURL()

setModified

public void setModified()

isModified

public boolean isModified()

setNew

public void setNew()

isNew

public boolean isNew()


Copyright © 2005-2008 NASA Jet Propulsion Laboratory, California Institute of Technology. All Rights Reserved.