Class InfoImpl
- java.lang.Object
-
- fish.payara.microprofile.openapi.impl.model.ExtensibleImpl<org.eclipse.microprofile.openapi.models.info.Info>
-
- fish.payara.microprofile.openapi.impl.model.info.InfoImpl
-
- All Implemented Interfaces:
org.eclipse.microprofile.openapi.models.Constructible
,org.eclipse.microprofile.openapi.models.Extensible<org.eclipse.microprofile.openapi.models.info.Info>
,org.eclipse.microprofile.openapi.models.info.Info
public class InfoImpl extends ExtensibleImpl<org.eclipse.microprofile.openapi.models.info.Info> implements org.eclipse.microprofile.openapi.models.info.Info
-
-
Field Summary
-
Fields inherited from class fish.payara.microprofile.openapi.impl.model.ExtensibleImpl
extensions
-
-
Constructor Summary
Constructors Constructor Description InfoImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.eclipse.microprofile.openapi.models.info.Info
createInstance(org.glassfish.hk2.classmodel.reflect.AnnotationModel annotation)
org.eclipse.microprofile.openapi.models.info.Contact
getContact()
String
getDescription()
org.eclipse.microprofile.openapi.models.info.License
getLicense()
String
getTermsOfService()
String
getTitle()
String
getVersion()
static void
merge(org.eclipse.microprofile.openapi.models.info.Info from, org.eclipse.microprofile.openapi.models.info.Info to, boolean override)
void
setContact(org.eclipse.microprofile.openapi.models.info.Contact contact)
void
setDescription(String description)
void
setLicense(org.eclipse.microprofile.openapi.models.info.License license)
void
setTermsOfService(String termsOfService)
void
setTitle(String title)
void
setVersion(String version)
-
Methods inherited from class fish.payara.microprofile.openapi.impl.model.ExtensibleImpl
addExtension, convertExtensionValue, extensionName, getExtensions, merge, removeExtension, setExtensions, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
createInstance
public static org.eclipse.microprofile.openapi.models.info.Info createInstance(org.glassfish.hk2.classmodel.reflect.AnnotationModel annotation)
-
getTitle
public String getTitle()
- Specified by:
getTitle
in interfaceorg.eclipse.microprofile.openapi.models.info.Info
-
setTitle
public void setTitle(String title)
- Specified by:
setTitle
in interfaceorg.eclipse.microprofile.openapi.models.info.Info
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceorg.eclipse.microprofile.openapi.models.info.Info
-
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interfaceorg.eclipse.microprofile.openapi.models.info.Info
-
getTermsOfService
public String getTermsOfService()
- Specified by:
getTermsOfService
in interfaceorg.eclipse.microprofile.openapi.models.info.Info
-
setTermsOfService
public void setTermsOfService(String termsOfService)
- Specified by:
setTermsOfService
in interfaceorg.eclipse.microprofile.openapi.models.info.Info
-
getContact
public org.eclipse.microprofile.openapi.models.info.Contact getContact()
- Specified by:
getContact
in interfaceorg.eclipse.microprofile.openapi.models.info.Info
-
setContact
public void setContact(org.eclipse.microprofile.openapi.models.info.Contact contact)
- Specified by:
setContact
in interfaceorg.eclipse.microprofile.openapi.models.info.Info
-
getLicense
public org.eclipse.microprofile.openapi.models.info.License getLicense()
- Specified by:
getLicense
in interfaceorg.eclipse.microprofile.openapi.models.info.Info
-
setLicense
public void setLicense(org.eclipse.microprofile.openapi.models.info.License license)
- Specified by:
setLicense
in interfaceorg.eclipse.microprofile.openapi.models.info.Info
-
getVersion
public String getVersion()
- Specified by:
getVersion
in interfaceorg.eclipse.microprofile.openapi.models.info.Info
-
setVersion
public void setVersion(String version)
- Specified by:
setVersion
in interfaceorg.eclipse.microprofile.openapi.models.info.Info
-
merge
public static void merge(org.eclipse.microprofile.openapi.models.info.Info from, org.eclipse.microprofile.openapi.models.info.Info to, boolean override)
-
-