Package com.abstratt.kirra
Class Schema
- java.lang.Object
-
- com.abstratt.kirra.Schema
-
public class Schema extends Object
The schema for an application. Provides access to application basic metadata, and its namespaces.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
applicationLabel
protected String
applicationLogo
protected String
applicationName
protected String
build
protected List<Namespace>
namespaces
-
Constructor Summary
Constructors Constructor Description Schema()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Namespace
findNamespace(String name)
List<Entity>
getAllEntities()
List<Service>
getAllServices()
List<TupleType>
getAllTupleTypes()
String
getApplicationLabel()
String
getApplicationLogo()
String
getApplicationName()
String
getBuild()
List<Namespace>
getNamespaces()
Entity
getUserEntity()
Returns this application's entity that represents users.void
setApplicationLabel(String applicationLabel)
void
setApplicationLogo(String applicationLogo)
void
setApplicationName(String applicationName)
void
setBuild(String build)
void
setNamespaces(List<Namespace> namespaces)
void
setUserEntity(Entity userEntity)
-
-
-
Method Detail
-
getApplicationName
public String getApplicationName()
-
getApplicationLabel
public String getApplicationLabel()
-
setApplicationLabel
public void setApplicationLabel(String applicationLabel)
-
getApplicationLogo
public String getApplicationLogo()
-
setApplicationLogo
public void setApplicationLogo(String applicationLogo)
-
getBuild
public String getBuild()
-
setApplicationName
public void setApplicationName(String applicationName)
-
setBuild
public void setBuild(String build)
-
getUserEntity
public Entity getUserEntity()
Returns this application's entity that represents users.
-
setUserEntity
public void setUserEntity(Entity userEntity)
-
-