jpl.mipl.mdms.FileService.komodo.messaging.msg
Class FileType
java.lang.Object
jpl.mipl.mdms.FileService.komodo.messaging.msg.MessageBase
jpl.mipl.mdms.FileService.komodo.messaging.msg.ComplexType
jpl.mipl.mdms.FileService.komodo.messaging.msg.FileType
- All Implemented Interfaces:
- MessageType
public class FileType
- extends ComplexType
Purpose:
This class holds file information such as name, size, type, etc.
Copyright 2005, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledge. 2005.
============================================================================
Modification History :
----------------------
Date Who What
----------------------------------------------------------------------------
06/15/2005 Nick Initial Release
============================================================================
- Version:
- $Id: FileType.java,v 1.4 2005/06/30 20:37:22 ntt Exp $
- Author:
- Nicholas Toole (Nicholas.T.Toole@jpl.nasa.gov)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELEMENT_NAME
public static final String ELEMENT_NAME
- See Also:
- Constant Field Values
CHILD_IDENTIFIER
public static final String CHILD_IDENTIFIER
- See Also:
- Constant Field Values
CHILD_TYPE
public static final String CHILD_TYPE
- See Also:
- Constant Field Values
CHILD_NAME
public static final String CHILD_NAME
- See Also:
- Constant Field Values
CHILD_SIZE
public static final String CHILD_SIZE
- See Also:
- Constant Field Values
CHILD_CONTRIBUTE
public static final String CHILD_CONTRIBUTE
- See Also:
- Constant Field Values
CHILD_TIME
public static final String CHILD_TIME
- See Also:
- Constant Field Values
CHILD_CHECKSUM
public static final String CHILD_CHECKSUM
- See Also:
- Constant Field Values
CHILD_COMMENT
public static final String CHILD_COMMENT
- See Also:
- Constant Field Values
CHILD_ARCHIVENOTE
public static final String CHILD_ARCHIVENOTE
- See Also:
- Constant Field Values
FileType
public FileType()
getChildrenNames
public String[] getChildrenNames()
- Overrides:
getChildrenNames
in class ComplexType
isRequired
protected boolean isRequired(String childName)
- Description copied from class:
ComplexType
- Method tests if a child message type is required to form a legal
message.
- Overrides:
isRequired
in class ComplexType
- Parameters:
childName
- Name to which child message is bound
- Returns:
- True if child is required, false otherwise.
parseChildren
public void parseChildren(org.dom4j.Element element)
throws Exception
- Overrides:
parseChildren
in class MessageBase
- Throws:
Exception
getType
public int getType()
- Description copied from interface:
MessageType
- Returns the type of this message.
- Specified by:
getType
in interface MessageType
- Overrides:
getType
in class ComplexType
- Returns:
- message type
identifier
public SimpleType identifier()
type
public FiletypeType type()
name
public SimpleType name()
size
public SimpleType size()
contribute
public ContributeType contribute()
time
public FileTimeType time()
checksum
public SimpleType checksum()
comment
public SimpleType comment()
archiveNote
public SimpleType archiveNote()