B.10. com.samscdrental.model.adt Package

The ADTs are in this package.

B.10.1. CustomerID.java

public class CustomerID
    implements java.io.Serializable
    {
    public CustomerID(  )
    public CustomerID( String aString ) throws CustomerIDFormatDeviation
    public void fromString( String aString ) throws CustomerIDFormatDeviation
    public static CustomerID parseString( String aString ) throws
        CustomerIDFormatDeviation
    boolean isInvalid(  )
    public String toString(  )
    public boolean equals( CustomerID aCustomerID )
    public boolean equals( Object obj )

    }

B.10.2. Dollar.java

public class Dollar
    implements java.io.Serializable
    {
    public Dollar(  )
    public Dollar( double value )
    public void fromString( String aString ) throws DollarFormatDeviation
    public static Dollar parseString( String aString ) throws
        DollarFormatDeviation
    public boolean equals( Dollar aDollar )
    void fromDouble( double value )
    public String toString(  )
    public boolean equals( Object obj )

    }

B.10.3. Name.java

public class Name
    implements java.io.Serializable
    {
    public Name(  )
    public Name( String aString ) throws NameFormatDeviation
    boolean isInvalid(  )
    public static Name parseString( String aString ) throws
        NameFormatDeviation
    public boolean equals( Name aName )
    public String toString(  )
    public boolean equals( Object obj )
    }

B.10.4. PhysicalID.java

 public class PhysicalID implements java.io.Serializable { public PhysicalID( ) public PhysicalID( String aString ) throws PhysicalIDFormatDeviation boolean isInvalid( ) public static PhysicalID ...

Get Prefactoring now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.