Skip to content

Instantly share code, notes, and snippets.

@GLitchfield
Created November 11, 2013 15:53
Show Gist options
  • Save GLitchfield/7415405 to your computer and use it in GitHub Desktop.
Save GLitchfield/7415405 to your computer and use it in GitHub Desktop.
public class GatewayID extends Identifier<GatewayID> {
public GatewayID(String id) {
super(id, GatewayID.class);
}
public static final GatewayID NULL = new GatewayID("NULL_GATEWAY_ID") {
@Override
public boolean isNull() {
return true;
}
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment