Enum DigitalServiceImplementationStyle
- java.lang.Object
-
- java.lang.Enum<DigitalServiceImplementationStyle>
-
- org.odpi.openmetadata.accessservices.dataprivacy.properties.DigitalServiceImplementationStyle
-
- All Implemented Interfaces:
Serializable,Comparable<DigitalServiceImplementationStyle>
public enum DigitalServiceImplementationStyle extends Enum<DigitalServiceImplementationStyle> implements Serializable
DigitalServiceImplementationStyle characterizes the implementation style of the digital service.- UNCLASSIFIED - The digital service implementation style is undefined.
- API - The digital service provides one or more APIs. This means the consumers are going to be other digital services. Typically API services are data processors.
- PERSONAL_APP - The digital service provides a user interface via a client application that is owned and installed by the end user. A mobile app for a smart phone or tablet is an example of this type of digital service. It means that the data subject and the end user is aligned.
- BROWSER_APP - The digital service provides a user interface via a browser. There is no guarantee that the same user will access the service through a browser instance if the browser is on a shared machine.
- LOCATION_APP - The digital service is installed at a specific location and is monitoring activity at the location and providing the service at that location. Some locations are closely aligned with individuals (such as in the home) and this needs to be taken into account with reviewing privacy and security requirements.
- INFRASTRUCTURE_APP - The digital service is installed as part of some infrastructure (for example a vehicle, or a power-distribution grid) and it is monitoring and supporting the operation of that infrastructure. Some pieces of infrastructure are closely associated with an individual (such as a person's car) which may have implications for privacy and security.
- DATA_FEED - The digital service continuously produces data that consumers can subscribe to.
- DATA_SINK - The digital service is receiving and accumulating data from other digital services.
- CLIENT_SERVER - The digital service provides a thick client tightly coupled with a backend server. Often these are standalone applications bought in as a package or home-grown.
- OTHER - The digital service's implementation style is locally defined.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APIBROWSER_APPCLIENT_SERVERDATA_FEEDDATA_SINKINFRASTRUCTURE_APPLOCATION_APPOTHERPERSONAL_APPUNCLASSIFIED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Return the default description of the instance provenance type.StringgetName()Return the default name of the instance provenance type.intgetOrdinal()Return the numeric representation of the instance provenance type.StringtoString()toString() JSON-stylestatic DigitalServiceImplementationStylevalueOf(String name)Returns the enum constant of this type with the specified name.static DigitalServiceImplementationStyle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNCLASSIFIED
public static final DigitalServiceImplementationStyle UNCLASSIFIED
-
API
public static final DigitalServiceImplementationStyle API
-
PERSONAL_APP
public static final DigitalServiceImplementationStyle PERSONAL_APP
-
BROWSER_APP
public static final DigitalServiceImplementationStyle BROWSER_APP
-
LOCATION_APP
public static final DigitalServiceImplementationStyle LOCATION_APP
-
INFRASTRUCTURE_APP
public static final DigitalServiceImplementationStyle INFRASTRUCTURE_APP
-
DATA_FEED
public static final DigitalServiceImplementationStyle DATA_FEED
-
DATA_SINK
public static final DigitalServiceImplementationStyle DATA_SINK
-
CLIENT_SERVER
public static final DigitalServiceImplementationStyle CLIENT_SERVER
-
OTHER
public static final DigitalServiceImplementationStyle OTHER
-
-
Method Detail
-
values
public static DigitalServiceImplementationStyle[] 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 (DigitalServiceImplementationStyle c : DigitalServiceImplementationStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DigitalServiceImplementationStyle 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
-
getOrdinal
public int getOrdinal()
Return the numeric representation of the instance provenance type.- Returns:
- int ordinal
-
getName
public String getName()
Return the default name of the instance provenance type.- Returns:
- String name
-
getDescription
public String getDescription()
Return the default description of the instance provenance type.- Returns:
- String description
-
toString
public String toString()
toString() JSON-style- Overrides:
toStringin classEnum<DigitalServiceImplementationStyle>- Returns:
- string description
-
-