Enum CommunicationLinkResource
- java.lang.Object
-
- java.lang.Enum<CommunicationLinkResource>
-
- org.palladiosimulator.generator.fluent.shared.structure.CommunicationLinkResource
-
- All Implemented Interfaces:
Serializable
,Comparable<CommunicationLinkResource>
public enum CommunicationLinkResource extends Enum<CommunicationLinkResource>
Represents built-in communication link resources available in the resource repository, i.e. 'LAN'.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LAN
LAN communication link resource
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getResourceName()
Gets the name of the resourcestatic CommunicationLinkResource
valueOf(String name)
Returns the enum constant of this type with the specified name.static CommunicationLinkResource[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LAN
public static final CommunicationLinkResource LAN
LAN communication link resource
-
-
Method Detail
-
values
public static CommunicationLinkResource[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CommunicationLinkResource c : CommunicationLinkResource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommunicationLinkResource valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getResourceName
public String getResourceName()
Gets the name of the resource- Returns:
- the name
-
-