com.anaptecs.spring.base.Entity Maven / Gradle / Ivy
/*
* anaptecs GmbH, Ricarda-Huch-Str. 71, 72760 Reutlingen, Germany
*
* Copyright 2004 - 2019. All rights reserved.
*/
package com.anaptecs.spring.base;
public enum Entity {
DISCOUNT_CAMPAIGN, DISCOUNT_OFFER,
/**
* Literal UNKNOWN is used in case that an unknown literal of this enumeration is received e.g. via an external
* interface.
*/
UNKNOWN;
/**
* Empty constructor is required for UNKNWON literal.
*/
private Entity( ) {
entityID = null;
}
/**
* Initialize object.
*/
private Entity( String pEntityID ) {
entityID = pEntityID;
}
private final String entityID;
/**
* Method returns attribute {@link #entityID}.
*
* @return {@link String} Value to which {@link #entityID} is set.
*/
public String getEntityID( ) {
return entityID;
}
}