org.globus.mds.glue
Class FileType

java.lang.Object
  extended byorg.globus.mds.glue.FileType
All Implemented Interfaces:
AnyContentType, Serializable
Direct Known Subclasses:
DirectoryType

public class FileType
extends Object
implements Serializable, AnyContentType

See Also:
Serialized Form

Field Summary
private  Object __equalsCalc
           
private  boolean __hashCodeCalc
           
private  MessageElement[] _any
           
private  Calendar creationDate
           
private  Calendar lastAccessed
           
private  Calendar lastModified
           
private  Duration latency
           
private  Calendar lifeTime
           
private  String name
           
private  String owner
           
private  int size
           
private static TypeDesc typeDesc
           
 
Constructor Summary
FileType()
           
FileType(MessageElement[] _any, String name, int size, Calendar creationDate, Calendar lastModified, Calendar lastAccessed, Duration latency, Calendar lifeTime, String owner)
           
 
Method Summary
 boolean equals(Object obj)
           
 MessageElement[] get_any()
          Gets the _any value for this FileType.
 Calendar getCreationDate()
          Gets the creationDate value for this FileType.
static Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Calendar getLastAccessed()
          Gets the lastAccessed value for this FileType.
 Calendar getLastModified()
          Gets the lastModified value for this FileType.
 Duration getLatency()
          Gets the latency value for this FileType.
 Calendar getLifeTime()
          Gets the lifeTime value for this FileType.
 String getName()
          Gets the name value for this FileType.
 String getOwner()
          Gets the owner value for this FileType.
static Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 int getSize()
          Gets the size value for this FileType.
static TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void set_any(MessageElement[] _any)
          Sets the _any value for this FileType.
 void setCreationDate(Calendar creationDate)
          Sets the creationDate value for this FileType.
 void setLastAccessed(Calendar lastAccessed)
          Sets the lastAccessed value for this FileType.
 void setLastModified(Calendar lastModified)
          Sets the lastModified value for this FileType.
 void setLatency(Duration latency)
          Sets the latency value for this FileType.
 void setLifeTime(Calendar lifeTime)
          Sets the lifeTime value for this FileType.
 void setName(String name)
          Sets the name value for this FileType.
 void setOwner(String owner)
          Sets the owner value for this FileType.
 void setSize(int size)
          Sets the size value for this FileType.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_any

private MessageElement[] _any

name

private String name

size

private int size

creationDate

private Calendar creationDate

lastModified

private Calendar lastModified

lastAccessed

private Calendar lastAccessed

latency

private Duration latency

lifeTime

private Calendar lifeTime

owner

private String owner

__equalsCalc

private Object __equalsCalc

__hashCodeCalc

private boolean __hashCodeCalc

typeDesc

private static TypeDesc typeDesc
Constructor Detail

FileType

public FileType()

FileType

public FileType(MessageElement[] _any,
                String name,
                int size,
                Calendar creationDate,
                Calendar lastModified,
                Calendar lastAccessed,
                Duration latency,
                Calendar lifeTime,
                String owner)
Method Detail

get_any

public MessageElement[] get_any()
Gets the _any value for this FileType.

Specified by:
get_any in interface AnyContentType
Returns:
_any

set_any

public void set_any(MessageElement[] _any)
Sets the _any value for this FileType.

Specified by:
set_any in interface AnyContentType
Parameters:
_any -

getName

public String getName()
Gets the name value for this FileType.

Returns:
name

setName

public void setName(String name)
Sets the name value for this FileType.

Parameters:
name -

getSize

public int getSize()
Gets the size value for this FileType.

Returns:
size

setSize

public void setSize(int size)
Sets the size value for this FileType.

Parameters:
size -

getCreationDate

public Calendar getCreationDate()
Gets the creationDate value for this FileType.

Returns:
creationDate

setCreationDate

public void setCreationDate(Calendar creationDate)
Sets the creationDate value for this FileType.

Parameters:
creationDate -

getLastModified

public Calendar getLastModified()
Gets the lastModified value for this FileType.

Returns:
lastModified

setLastModified

public void setLastModified(Calendar lastModified)
Sets the lastModified value for this FileType.

Parameters:
lastModified -

getLastAccessed

public Calendar getLastAccessed()
Gets the lastAccessed value for this FileType.

Returns:
lastAccessed

setLastAccessed

public void setLastAccessed(Calendar lastAccessed)
Sets the lastAccessed value for this FileType.

Parameters:
lastAccessed -

getLatency

public Duration getLatency()
Gets the latency value for this FileType.

Returns:
latency

setLatency

public void setLatency(Duration latency)
Sets the latency value for this FileType.

Parameters:
latency -

getLifeTime

public Calendar getLifeTime()
Gets the lifeTime value for this FileType.

Returns:
lifeTime

setLifeTime

public void setLifeTime(Calendar lifeTime)
Sets the lifeTime value for this FileType.

Parameters:
lifeTime -

getOwner

public String getOwner()
Gets the owner value for this FileType.

Returns:
owner

setOwner

public void setOwner(String owner)
Sets the owner value for this FileType.

Parameters:
owner -

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

getTypeDesc

public static TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static Serializer getSerializer(String mechType,
                                       Class _javaType,
                                       QName _xmlType)
Get Custom Serializer


getDeserializer

public static Deserializer getDeserializer(String mechType,
                                           Class _javaType,
                                           QName _xmlType)
Get Custom Deserializer