/**
* The hybrid sign.
*/
- hybridSign,
+ hybridSign
+ ;
+ public boolean isName(){
+ return this == name;
+ }
+ public boolean isRank(){
+ return this == rank;
+ }
+ public boolean isAuthors(){
+ return this == authors;
+ }
+ public boolean isAppendedPhrase(){
+ return this == appendedPhrase;
+ }
+ public boolean isReference(){
+ return this == reference;
+ }
+ public boolean isYear(){
+ return this == year;
+ }
+ public boolean isFullName(){
+ return this == fullName;
+ }
+
+ public boolean isNomStatus(){
+ return this == nomStatus;
+ }
+ public boolean isSeparator(){
+ return this == separator;
+ }
+ public boolean isHybridSign(){
+ return this == hybridSign;
+ }
+
}
this.text = text;
this.type = type;
}
+
+// *************************** DELEGATES ************************************/
+
+ public boolean isName() {
+ return type.isName();
+ }
+ public boolean isRank() {
+ return type.isRank();
+ }
+ public boolean isAuthors() {
+ return type.isAuthors();
+ }
+ public boolean isAppendedPhrase() {
+ return type.isAppendedPhrase();
+ }
+ public boolean isReference() {
+ return type.isReference();
+ }
+ public boolean isYear() {
+ return type.isYear();
+ }
+ public boolean isFullName() {
+ return type.isFullName();
+ }
+ public boolean isNomStatus() {
+ return type.isNomStatus();
+ }
+ public boolean isSeparator() {
+ return type.isSeparator();
+ }
+ public boolean isHybridSign() {
+ return type.isHybridSign();
+ }
+
+
+// ********************** toString() ***********************************************/
@Override
public String toString(){