Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.util.resource.internal
Class ResourceType

java.lang.Object
  extended by eu.esdihumboldt.util.resource.internal.ResourceType
All Implemented Interfaces:
de.cs3d.util.eclipse.extension.simple.IdentifiableExtension.Identifiable

public class ResourceType
extends Object
implements de.cs3d.util.eclipse.extension.simple.IdentifiableExtension.Identifiable

Represents a resource type.

Author:
Simon Templer

Constructor Summary
ResourceType(String id, String name)
           
 
Method Summary
 String getId()
           
 String getName()
          Get the resource type name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceType

public ResourceType(String id,
                    String name)
Parameters:
id - the resource type ID
name - the resource type name, may be null
Method Detail

getId

public String getId()
Specified by:
getId in interface de.cs3d.util.eclipse.extension.simple.IdentifiableExtension.Identifiable
See Also:
IdentifiableExtension.Identifiable.getId()

getName

public String getName()
Get the resource type name. If no name was explicitly specified the name is equal to the resource type ID.

Returns:
the resource type name

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d