edu.indiana.dlib.metsnav.mets.v1_5
Class AmdSecType

java.lang.Object
  extended by edu.indiana.dlib.metsnav.mets.v1_5.AmdSecType
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AmdSec

public class AmdSecType
extends Object
implements Serializable

amdSecType: Complex Type for Administrative Metadata. The administrative metadata section consists of four possible subsidiary sections: techMD (technical metadata for text/image/audio/video files), rightsMD (intellectual property rights metadata), sourceMD (analog/digital source metadata), and digiprovMD (digital provenance metadata, that is, the history of migrations/translations performed on a digital library object from it's original digital capture/encoding).

See Also:
Serialized Form

Constructor Summary
AmdSecType()
           
 
Method Summary
 void addDigiprovMD(DigiprovMD vDigiprovMD)
          Method addDigiprovMD
 void addDigiprovMD(int index, DigiprovMD vDigiprovMD)
          Method addDigiprovMD
 void addRightsMD(int index, RightsMD vRightsMD)
          Method addRightsMD
 void addRightsMD(RightsMD vRightsMD)
          Method addRightsMD
 void addSourceMD(int index, SourceMD vSourceMD)
          Method addSourceMD
 void addSourceMD(SourceMD vSourceMD)
          Method addSourceMD
 void addTechMD(int index, TechMD vTechMD)
          Method addTechMD
 void addTechMD(TechMD vTechMD)
          Method addTechMD
 void clearDigiprovMD()
          Method clearDigiprovMD
 void clearRightsMD()
          Method clearRightsMD
 void clearSourceMD()
          Method clearSourceMD
 void clearTechMD()
          Method clearTechMD
 Enumeration enumerateDigiprovMD()
          Method enumerateDigiprovMD
 Enumeration enumerateRightsMD()
          Method enumerateRightsMD
 Enumeration enumerateSourceMD()
          Method enumerateSourceMD
 Enumeration enumerateTechMD()
          Method enumerateTechMD
 DigiprovMD[] getDigiprovMD()
          Method getDigiprovMD
 DigiprovMD getDigiprovMD(int index)
          Method getDigiprovMD
 int getDigiprovMDCount()
          Method getDigiprovMDCount
 String getID()
          Returns the value of field 'ID'.
 RightsMD[] getRightsMD()
          Method getRightsMD
 RightsMD getRightsMD(int index)
          Method getRightsMD
 int getRightsMDCount()
          Method getRightsMDCount
 SourceMD[] getSourceMD()
          Method getSourceMD
 SourceMD getSourceMD(int index)
          Method getSourceMD
 int getSourceMDCount()
          Method getSourceMDCount
 TechMD[] getTechMD()
          Method getTechMD
 TechMD getTechMD(int index)
          Method getTechMD
 int getTechMDCount()
          Method getTechMDCount
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 boolean removeDigiprovMD(DigiprovMD vDigiprovMD)
          Method removeDigiprovMD
 boolean removeRightsMD(RightsMD vRightsMD)
          Method removeRightsMD
 boolean removeSourceMD(SourceMD vSourceMD)
          Method removeSourceMD
 boolean removeTechMD(TechMD vTechMD)
          Method removeTechMD
 void setDigiprovMD(DigiprovMD[] digiprovMDArray)
          Method setDigiprovMD
 void setDigiprovMD(int index, DigiprovMD vDigiprovMD)
          Method setDigiprovMD
 void setID(String ID)
          Sets the value of field 'ID'.
 void setRightsMD(int index, RightsMD vRightsMD)
          Method setRightsMD
 void setRightsMD(RightsMD[] rightsMDArray)
          Method setRightsMD
 void setSourceMD(int index, SourceMD vSourceMD)
          Method setSourceMD
 void setSourceMD(SourceMD[] sourceMDArray)
          Method setSourceMD
 void setTechMD(int index, TechMD vTechMD)
          Method setTechMD
 void setTechMD(TechMD[] techMDArray)
          Method setTechMD
static Object unmarshal(Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmdSecType

public AmdSecType()
Method Detail

addDigiprovMD

public void addDigiprovMD(DigiprovMD vDigiprovMD)
                   throws IndexOutOfBoundsException
Method addDigiprovMD

Parameters:
vDigiprovMD -
Throws:
IndexOutOfBoundsException

addDigiprovMD

public void addDigiprovMD(int index,
                          DigiprovMD vDigiprovMD)
                   throws IndexOutOfBoundsException
Method addDigiprovMD

Parameters:
index -
vDigiprovMD -
Throws:
IndexOutOfBoundsException

addRightsMD

public void addRightsMD(RightsMD vRightsMD)
                 throws IndexOutOfBoundsException
Method addRightsMD

Parameters:
vRightsMD -
Throws:
IndexOutOfBoundsException

addRightsMD

public void addRightsMD(int index,
                        RightsMD vRightsMD)
                 throws IndexOutOfBoundsException
Method addRightsMD

Parameters:
index -
vRightsMD -
Throws:
IndexOutOfBoundsException

addSourceMD

public void addSourceMD(SourceMD vSourceMD)
                 throws IndexOutOfBoundsException
Method addSourceMD

Parameters:
vSourceMD -
Throws:
IndexOutOfBoundsException

addSourceMD

public void addSourceMD(int index,
                        SourceMD vSourceMD)
                 throws IndexOutOfBoundsException
Method addSourceMD

Parameters:
index -
vSourceMD -
Throws:
IndexOutOfBoundsException

addTechMD

public void addTechMD(TechMD vTechMD)
               throws IndexOutOfBoundsException
Method addTechMD

Parameters:
vTechMD -
Throws:
IndexOutOfBoundsException

addTechMD

public void addTechMD(int index,
                      TechMD vTechMD)
               throws IndexOutOfBoundsException
Method addTechMD

Parameters:
index -
vTechMD -
Throws:
IndexOutOfBoundsException

clearDigiprovMD

public void clearDigiprovMD()
Method clearDigiprovMD


clearRightsMD

public void clearRightsMD()
Method clearRightsMD


clearSourceMD

public void clearSourceMD()
Method clearSourceMD


clearTechMD

public void clearTechMD()
Method clearTechMD


enumerateDigiprovMD

public Enumeration enumerateDigiprovMD()
Method enumerateDigiprovMD

Returns:
Enumeration

enumerateRightsMD

public Enumeration enumerateRightsMD()
Method enumerateRightsMD

Returns:
Enumeration

enumerateSourceMD

public Enumeration enumerateSourceMD()
Method enumerateSourceMD

Returns:
Enumeration

enumerateTechMD

public Enumeration enumerateTechMD()
Method enumerateTechMD

Returns:
Enumeration

getDigiprovMD

public DigiprovMD getDigiprovMD(int index)
                         throws IndexOutOfBoundsException
Method getDigiprovMD

Parameters:
index -
Returns:
DigiprovMD
Throws:
IndexOutOfBoundsException

getDigiprovMD

public DigiprovMD[] getDigiprovMD()
Method getDigiprovMD

Returns:
DigiprovMD

getDigiprovMDCount

public int getDigiprovMDCount()
Method getDigiprovMDCount

Returns:
int

getID

public String getID()
Returns the value of field 'ID'. The field 'ID' has the following description: ID: an optional XML ID value

Returns:
String

getRightsMD

public RightsMD getRightsMD(int index)
                     throws IndexOutOfBoundsException
Method getRightsMD

Parameters:
index -
Returns:
RightsMD
Throws:
IndexOutOfBoundsException

getRightsMD

public RightsMD[] getRightsMD()
Method getRightsMD

Returns:
RightsMD

getRightsMDCount

public int getRightsMDCount()
Method getRightsMDCount

Returns:
int

getSourceMD

public SourceMD getSourceMD(int index)
                     throws IndexOutOfBoundsException
Method getSourceMD

Parameters:
index -
Returns:
SourceMD
Throws:
IndexOutOfBoundsException

getSourceMD

public SourceMD[] getSourceMD()
Method getSourceMD

Returns:
SourceMD

getSourceMDCount

public int getSourceMDCount()
Method getSourceMDCount

Returns:
int

getTechMD

public TechMD getTechMD(int index)
                 throws IndexOutOfBoundsException
Method getTechMD

Parameters:
index -
Returns:
TechMD
Throws:
IndexOutOfBoundsException

getTechMD

public TechMD[] getTechMD()
Method getTechMD

Returns:
TechMD

getTechMDCount

public int getTechMDCount()
Method getTechMDCount

Returns:
int

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(Writer out)
             throws MarshalException,
                    ValidationException
Method marshal

Parameters:
out -
Throws:
MarshalException
ValidationException

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    MarshalException,
                    ValidationException
Method marshal

Parameters:
handler -
Throws:
IOException
MarshalException
ValidationException

removeDigiprovMD

public boolean removeDigiprovMD(DigiprovMD vDigiprovMD)
Method removeDigiprovMD

Parameters:
vDigiprovMD -
Returns:
boolean

removeRightsMD

public boolean removeRightsMD(RightsMD vRightsMD)
Method removeRightsMD

Parameters:
vRightsMD -
Returns:
boolean

removeSourceMD

public boolean removeSourceMD(SourceMD vSourceMD)
Method removeSourceMD

Parameters:
vSourceMD -
Returns:
boolean

removeTechMD

public boolean removeTechMD(TechMD vTechMD)
Method removeTechMD

Parameters:
vTechMD -
Returns:
boolean

setDigiprovMD

public void setDigiprovMD(int index,
                          DigiprovMD vDigiprovMD)
                   throws IndexOutOfBoundsException
Method setDigiprovMD

Parameters:
index -
vDigiprovMD -
Throws:
IndexOutOfBoundsException

setDigiprovMD

public void setDigiprovMD(DigiprovMD[] digiprovMDArray)
Method setDigiprovMD

Parameters:
digiprovMDArray -

setID

public void setID(String ID)
Sets the value of field 'ID'. The field 'ID' has the following description: ID: an optional XML ID value

Parameters:
ID - the value of field 'ID'.

setRightsMD

public void setRightsMD(int index,
                        RightsMD vRightsMD)
                 throws IndexOutOfBoundsException
Method setRightsMD

Parameters:
index -
vRightsMD -
Throws:
IndexOutOfBoundsException

setRightsMD

public void setRightsMD(RightsMD[] rightsMDArray)
Method setRightsMD

Parameters:
rightsMDArray -

setSourceMD

public void setSourceMD(int index,
                        SourceMD vSourceMD)
                 throws IndexOutOfBoundsException
Method setSourceMD

Parameters:
index -
vSourceMD -
Throws:
IndexOutOfBoundsException

setSourceMD

public void setSourceMD(SourceMD[] sourceMDArray)
Method setSourceMD

Parameters:
sourceMDArray -

setTechMD

public void setTechMD(int index,
                      TechMD vTechMD)
               throws IndexOutOfBoundsException
Method setTechMD

Parameters:
index -
vTechMD -
Throws:
IndexOutOfBoundsException

setTechMD

public void setTechMD(TechMD[] techMDArray)
Method setTechMD

Parameters:
techMDArray -

unmarshal

public static Object unmarshal(Reader reader)
                        throws MarshalException,
                               ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

Throws:
ValidationException


Copyright © 2005 Trustees of Indiana University. All Rights Reserved.