at.spardat.xma.boot.comp.data
Class XMAResource

java.lang.Object
  extended byat.spardat.xma.boot.comp.data.XMAResource

public class XMAResource
extends java.lang.Object


Nested Class Summary
static class XMAResource.TypeID
           
 
Constructor Summary
XMAResource(java.lang.String href, Version version, XMAResource.TypeID type, java.util.Locale locale, boolean shared)
           
 
Method Summary
 java.lang.String getHref_()
           
 java.util.Locale getLocale_()
           
 IFileCacheResource getRes_()
           
 XMAResource.TypeID getType_()
           
 Version getVersion_()
           
 boolean isJar()
           
 boolean isNativeLib()
           
 boolean isShared_()
           
 void setHref_(java.lang.String string)
           
 void setLocale_(java.util.Locale locale)
           
 void setRes_(IFileCacheResource resource)
           
 void setShared_(boolean shared)
           
 void setType_(XMAResource.TypeID typeID)
           
 void setVersion_(Version version)
           
 void writeXML(java.io.PrintStream ps)
          write this object to a xml print stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMAResource

public XMAResource(java.lang.String href,
                   Version version,
                   XMAResource.TypeID type,
                   java.util.Locale locale,
                   boolean shared)
Method Detail

writeXML

public void writeXML(java.io.PrintStream ps)
write this object to a xml print stream.

Parameters:
ps - the PrintStream to write to

getHref_

public java.lang.String getHref_()
Returns:
String href

getLocale_

public java.util.Locale getLocale_()
Returns:
Locale locale

getType_

public XMAResource.TypeID getType_()
Returns:
TypeID typeid

getVersion_

public Version getVersion_()
Returns:
Version

isShared_

public boolean isShared_()
Returns:
Returns if shared.

setHref_

public void setHref_(java.lang.String string)
Parameters:
string - href to set

setLocale_

public void setLocale_(java.util.Locale locale)
Parameters:
locale - locale to set

setType_

public void setType_(XMAResource.TypeID typeID)
Parameters:
typeID -

setVersion_

public void setVersion_(Version version)
Parameters:
version -

getRes_

public IFileCacheResource getRes_()
Returns:
IFileCacheResource

setRes_

public void setRes_(IFileCacheResource resource)
Parameters:
resource -

setShared_

public void setShared_(boolean shared)
Parameters:
shared - The shared to set.

isJar

public boolean isJar()
Returns:
true if this resource describes a jar-file
Since:
1.3.0

isNativeLib

public boolean isNativeLib()
Returns:
true if this resource describes a dll-file
Since:
1.3.0