public class Profile extends java.lang.Object implements java.io.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(java.lang.String namespace,
ProfileVersion version,
ConformanceLevel conformanceLevel)
Instantiates a new profile.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
fullName()
Gets the full name consisting of the namespace, version, conformance level.
|
ConformanceLevel |
getConformanceLevel()
Gets the conformance level.
|
java.lang.String |
getNamespace()
Gets the namespace.
|
ProfileVersion |
getVersion()
Gets the version.
|
Profile |
setConformanceLevel(ConformanceLevel conformanceLevel)
Sets the conformance level.
|
Profile |
setNamespace(java.lang.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(java.lang.String namespace, ProfileVersion version, ConformanceLevel conformanceLevel)
Instantiates a new profile.
namespace
- the namespaceversion
- the versionconformanceLevel
- the conformance levelpublic java.lang.String fullName()
Gets the full name consisting of the namespace, version, conformance level.
public ConformanceLevel getConformanceLevel()
Gets the conformance level.
public java.lang.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(java.lang.String namespace)
Sets the namespace.
namespace
- the namespacepublic Profile setVersion(ProfileVersion version)
Sets the version.
version
- the new versionCopyright © 2014-2018 Konik.io. All Rights Reserved.