public class Profile extends Object implements Serializable
The ZUGFeRD Profile consists of three parts. The namespace the version and the conformance level.
| Constructor and Description |
|---|
Profile()
Instantiates a new profile.
|
Profile(ConformanceLevel conformanceLevel)
Instantiates a new profile with the latest version
|
Profile(String namespace,
ProfileVersion version,
ConformanceLevel conformanceLevel)
Instantiates a new profile.
|
| Modifier and Type | Method and Description |
|---|---|
String |
fullName()
Gets the full name consisting of the namespace, version, conformance level.
|
ConformanceLevel |
getConformanceLevel()
Gets the conformance level.
|
String |
getNamespace()
Gets the namespace.
|
ProfileVersion |
getVersion()
Gets the version.
|
Profile |
setConformanceLevel(ConformanceLevel conformanceLevel)
Sets the conformance level.
|
Profile |
setNamespace(String namespace)
Sets the namespace.
|
Profile |
setVersion(ProfileVersion version)
Sets the version.
|
public Profile()
Instantiates a new profile.
public Profile(ConformanceLevel conformanceLevel)
Instantiates a new profile with the latest version
conformanceLevel - the conformance levelpublic Profile(String namespace, ProfileVersion version, ConformanceLevel conformanceLevel)
Instantiates a new profile.
namespace - the namespaceversion - the versionconformanceLevel - the conformance levelpublic String fullName()
Gets the full name consisting of the namespace, version, conformance level.
public ConformanceLevel getConformanceLevel()
Gets the conformance level.
public String getNamespace()
Gets the namespace.
public ProfileVersion getVersion()
Gets the version.
public Profile setConformanceLevel(ConformanceLevel conformanceLevel)
Sets the conformance level.
conformanceLevel - the new conformance levelpublic Profile setNamespace(String namespace)
Sets the namespace.
namespace - the namespacepublic Profile setVersion(ProfileVersion version)
Sets the version.
version - the new versionCopyright © 2014-2016 Konik.io. All Rights Reserved.