Package de.xima.fc.mdl.resource
Class ExternalResourceItem
- java.lang.Object
-
- de.xima.fc.mdl.resource.ExternalResourceItem
-
- All Implemented Interfaces:
IResourceItem
,Serializable
public final class ExternalResourceItem extends Object implements IResourceItem
A file select menu may contain options form form resources, client resources and external URLs. The latter is represented by an instance of this class.- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ExternalResourceItem
INSTANCE
The immutable instance of this external resource item.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
ERessourcenTyp
getResourceType()
String
getResourceUuid()
String
toString()
-
-
-
Field Detail
-
INSTANCE
public static final ExternalResourceItem INSTANCE
The immutable instance of this external resource item.
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceIResourceItem
- Returns:
- The (file) name of the resource this item represents.
-
getResourceType
public ERessourcenTyp getResourceType()
- Specified by:
getResourceType
in interfaceIResourceItem
- Returns:
- The type of the resource this item represents, or
null
if it represents none of the available types.
-
getResourceUuid
public String getResourceUuid()
- Specified by:
getResourceUuid
in interfaceIResourceItem
- Returns:
- The UUID of the resource this item represents, or
null
or empty string if no such UUID exists.
-
-