public class Profile extends java.lang.Object
The ZUGFeRD full Profile Name
Construction schema. namespace:version:[basic, comfort or extended]
urn:ferd:invoice:rce:extended
| Constructor and Description |
|---|
Profile(ProfileType type)
|
Profile(java.lang.String fullName)
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFullName()
|
java.lang.String |
getSimpleName()
|
java.lang.String |
getVersion()
|
boolean |
isBasic()
|
boolean |
isComfort()
|
boolean |
isExtended()
|
public Profile(ProfileType type)
Instantiates a new profile.
type - the typepublic Profile(java.lang.String fullName)
Instantiates a new profile.
fullName - the full namepublic java.lang.String getFullName()
Gets the profile name.
e.g. urn:ferd:invoice:rc:basic
public java.lang.String getSimpleName()
Gets the simple name of the profile
e.g basic,comfort or extended.
public java.lang.String getVersion()
Gets the version of the invoice.
public boolean isBasic()
Checks if profile is basic.
public boolean isComfort()
Checks if profile is comfort.
public boolean isExtended()
Checks if profile is extended.
Copyright © 2014 konik.io. All Rights Reserved.