public class ISSN extends AbstractStandardNumber implements Comparable<ISSN>, StandardNumber
Constructor and Description |
---|
ISSN() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ISSN issn) |
ISSN |
createChecksum(boolean createWithChecksum)
Indicate that a correct check sum should be computed.
|
String |
format()
Format this number
|
boolean |
isValid()
Check this number for validity.
|
ISSN |
normalize()
Normalize the value by removing all unwanted characters or
replacing characters with the ones required for verification.
|
String |
normalizedValue()
Returns the value representation of the standard number
|
ISSN |
reset() |
ISSN |
set(CharSequence value)
Set the input value of this standard number.
|
GTIN |
toGTIN() |
GTIN |
toGTIN(String additionalCode) |
String |
type()
Return the type of this standard number
|
ISSN |
verify()
Verify the number.
|
getTypedVariants
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTypedVariants
public ISSN()
public String type()
StandardNumber
type
in interface StandardNumber
public int compareTo(ISSN issn)
compareTo
in interface Comparable<ISSN>
public ISSN set(CharSequence value)
StandardNumber
set
in interface StandardNumber
value
- the raw input valuepublic ISSN createChecksum(boolean createWithChecksum)
StandardNumber
createChecksum
in interface StandardNumber
public ISSN normalize()
StandardNumber
normalize
in interface StandardNumber
public boolean isValid()
StandardNumber
isValid
in interface StandardNumber
public ISSN verify() throws NumberFormatException
StandardNumber
verify
in interface StandardNumber
NumberFormatException
- if verification failedpublic String normalizedValue()
normalizedValue
in interface StandardNumber
public String format()
format
in interface StandardNumber
public ISSN reset()
reset
in interface StandardNumber
public GTIN toGTIN() throws NumberFormatException
NumberFormatException
public GTIN toGTIN(String additionalCode) throws NumberFormatException
NumberFormatException
Copyright © 2013–2014. All rights reserved.