com.sap.cloud.sdk.service.csn2jpa.cds.model.CdsDefinition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of csn-reader Show documentation
Show all versions of csn-reader Show documentation
API for reading CDS models in CSN format
/*******************************************************************************
* * © 2018 SAP SE or an SAP affiliate company. All rights reserved. *
******************************************************************************/
package com.sap.cloud.sdk.service.csn2jpa.cds.model;
import com.google.common.base.Joiner;
public abstract class CdsDefinition extends CdsAnnotatable {
String name;
CdsContext context = CdsContext.DEFAULT_CONTEXT;
public CdsDefinition() {
}
public CdsDefinition(CdsContext context, String name) {
this.name = name;
this.context = context;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public CdsContext getContext() {
return context;
}
public void setContext(CdsContext context) {
this.context = context;
}
public String getCanonicalName() {
return Joiner.on(".").skipNulls().join(this.context.getCanonicalName(), this.name);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy